Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form
Adding a gradient to a section, button, or any other element can be a great way to make it stand out. You can use background gradients on their own or on top of a background color or image.
There are two types of gradients: linear and radial. Both gradient types consist of stops, or points where one color fades into another. In this video, we'll show you how to work with both linear and radial gradients in Webflow.
Want to follow along with this lesson? Fortunately, we created a zip file which contains all the assets used in the project, and we've included that linkright here
Background Gradients are magical. You can use them on their own or even on top of an existing Background color or image. But first, let's clear up a couple things:
#1: The verb is "gradate"; not "gradiate."
and #2: When we're talking about "stops" we're talking about the set points along the Gradient from which colors fade from one to another.
And we're going to cover two types of Gradients we can use in our projects: linear Gradients and radial Gradients. Let's start with linear.
And here on the page we have a section which already has a Background image and some content inside. Let's select the section, because this is what we want to start styling. If we go down and add a Gradient, we see our default black and white stops.
Before we make any changes to those, let's click around to see what some of the angle directions do, and we can even grab our angle dial and drag to adjust with some more precision. Or, if we're really fans of extreme control, we can type in an angle and press enter.
Double-clicking a stop gets us access to the color picker. And from here, of course, we can change the color on this stop as well as the opacity. And as we adjust the opacity, the Background image becomes visible again. Let's click out.
At any time, we can add additional stops by clicking underneath the Gradient preview. And we can adjust these stop positions by clicking and dragging on any of them. And to remove, just drag the stop down and out.
We also have an option to reverse the stops. And it does just that: it reverses the order of the stops.
If we move the rightmost stop to about 75%, for example, we see that the last color simply continues, unless...we toggle Repeating. We get linear repeating which is controlled by the positioning of the first and last stops. This will still respect the angle we've set.
That's a linear Gradient. Let's do radial Gradients.
Here's a different section — this one also has content. Let's select it and go down again to add a Gradient — this time we'll select Radial. And two things here to cover before we get started:
#1: The center color (the color at the center of the radial Gradient) is the one we see in our Gradient preview to the left.
and #2: Moving the focal point will set the position of that focal point in the radial Gradient, but the fade type is controlled by the radius preset. This is one of those times where visually manipulating CSS properties is life-changingly helpful.
And by default, we have Farthest Corner. And as we adjust our focal point, the Gradient will continue gradating outward until it hits the farthest corner. Plain and simple.
Closest Corner does the same thing, but it stops gradating when it hits the closest corner.
Farthest side goes until it hits the farthest side.
Closest side...you get the idea.
Just like a linear Gradient, we can double-click the stops to change color and opacity. And we can add additional stops by clicking underneath the Gradient preview. We can still reverse our stops. And we can still toggle repeating. Let's continue to adjust these stops to demonstrate radial repeating.
The possibilities here are limitless — but suffice it to say: linear and radial Gradients give us the flexibility to create simple or even complex color patterns and fades as Background layers.
Thanks for the feedback! This will help us improve our content.
Something went wrong while submitting the form. Please contact firstname.lastname@example.org