Apply filters, opacity, transforms and other effects to enhance an element’s interactivity.
In this lesson, you’ll learn about:
Pro tip: You can add most of these effects on the hover state or any other state in the states menu. Learn more about setting effects on different states.
Blending modes in Webflow offer a variety of different ways for an element to blend with (or overlap) other elements below it — all without the necessity of custom code. Webflow takes care of the mix-blend mode CSS property for you, and allows you to set how an element’s content should blend with the content of the element’s parent and the element’s background. Blending modes unlock a ton of creative possibilities to go beyond element opacity adjustments.
There are 16 blending modes. Modes that behave similarly are placed next to each other in the blending mode dropdown. These mode groupings consist of:
- Default mode (Normal)
- Darken modes (Darken, Multiply, and Color burn)
- Lighten modes (Lighten, Screen, and Color dodge)
- Contrast modes (Overlay, Soft light, and Hard light)
- Comparative modes (Difference and Exclusion)
- Composite modes (Hue, Saturation, Color, and Luminosity)
To see examples of each blending mode and read more about how to use them, check out our blending mode lesson.
To customize the transparency level for an element and its children, change the opacity in the effects settings. You can change the opacity by entering a value in the input field or by dragging the opacity slider to your desired value.
Opacity values are set in percentages. 100% is opaque and 0 is completely transparent.
Outlines are meant to help your site visitors navigate through your design as they tab through your interactive elements with their keyboard. The outline that appears around an element makes it clear to your visitor they’re interacting with — they’re focused on — one particular element. If they press Tab again on their keyboard, the outline will appear around the next newly focused element.
Because of this, it’s essential to add an outline to the Focused (keyboard) state or the Focused state of your element.
You have the following controls in the Outline settings:
- Style — specifies the kind of outline (i.e., solid, dashed, or dotted) that surrounds an element
- Width — specifies the thickness of the outline. This value can use any CSS unit from the list available in the unit dropdown
- Offset — specifies the amount of space between an outline and the edge or border of an element. This value can use any CSS unit from the list available in the unit dropdown
- Color — specifies the outline’s color
Important: While it may be tempting to choose “None” for the Outline style if you want to remove it and return to default browser settings, remember that this will not remove any other properties that have been set (e.g., width, offset, or color), and will make your outline completely disappear, leading to inaccessibility and a poorer user experience.
Box shadows add styling outside or inside of an element’s rectangular boundary. Box shadows can be used to add focus or depth to buttons, sections, div blocks, or any other element on your site.
You can add a box shadow, or create multiple box shadows to layer outside of an element, in the box shadow settings of the Style panel.
Select the box shadow to customize the type, angle, distance, blur, size, and color of the shadow.
You can add multiple layers for most effects in the Style panel. For example, you can add and layer multiple box shadows to an element.
In the effect settings, you can toggle the visibility of each layer by selecting the eye icon and delete each layer by selecting the trash icon. To change the order of each effect, simply select the layer you’d like to reorder and drag it to your desired order number.
You have the following controls in the box shadow settings:
- Type — applies the shadow inside or outside of the element’s boundaries
- Angle — changes the direction of the box shadow. You can adjust the angle by clicking and dragging the dial, clicking anywhere on the dial to set that position, clicking the arrows to rotate the angle, or entering the angle value in the input field
- Distance — moves the shadow closer or farther in the direction specified by the set angle
- Blur — affects how focused the shadow blur is
- Size — specifies the spread of the shadow relative to the boundaries of the element it’s on
- Color — changes the color and opacity of the shadow
Important: Animated blurs are very slow and not recommended.
2D & 3D transforms
You can add transforms from the Style panel > Effects > 2D & 3D transforms to manipulate an element’s appearance and position on different states, such as hover.
There are 4 types of transforms:
Click the ellipsis next to 2D & 3D transforms to access the Transform settings and adjust transform origin, backface visibility, self-perspective, and children perspective.
Similar to stacking effects, you can add more than one type of transform without losing any of your previous settings. Click the “plus” icon to add an additional transform.
Transitions create a smooth animation between different states of an element. A duration and easing type effect can be customized to create a unique transition. A common use of transitions is for hover states on elements so that they don’t abruptly change on hover.
By default, transitions are set to none, meaning that they’ll apply to all states automatically. You should add a transition for each property/style that you have added in any state.
To create a transition, go to Style panel > Effects > Transitions, click the “plus” icon, and specify the following properties:
- Type — the type of property affected by the transition
- Duration — specifies the duration of the transition in milliseconds (ms). You can adjust the default duration (200ms) using the slider or by entering the duration value in the input field
- Easing — specifies the rate, or speed, of the transition. You can type in a value or open the easing editor to browse presets or create unique easing effects
Filters apply a unique visual effect to an element. Filters can also be used to create changes on hover states. You can add filters on an image, background video or any other element. Filters change the appearance of the entire element, including its children.
To add a filter, go to Style panel > Effects > Filters, click the “plus” icon, and choose any of the filter effects from the dropdown menu:
- Blur — blurs the content of an element. A larger blur radius value will increase the blur level. 0 will have no effect.
- Brightness — specifies the amount of brightness between 0 and 200%. A value of 100% will return the element back to its original brightness.
- Contrast — specifies the amount of contrast between 0 and 200%. A value of 100% will return the element back to its original contrast.
- Hue rotate — shifts the colors/hue of an image or element. The value unit is in degrees. A value of 0 or 360 brings it back to the original hue. You can change the hue by clicking and dragging the dot on the direction dial, clicking anywhere on the dial to set that position as the direction of the angle, clicking the arrows to rotate the angle in increments of 45 degrees clockwise or anticlockwise, or typing in the desired angle in the input field.
- Saturation — defines the intensity of the colors between 0% and 200%. A value of 100% will bring it back to the original saturation.
- Grayscale — converts all colors to grayscale. 0% will show the original image and 100% will make the image completely grayscale.
- Invert — inverts all the colors in the element. A value of 0% will show the original image and 100% will completely invert the colors.
- Sepia — applies a vintage off-yellow look to an image or element. 0% represents the original image and 100% is fully sepia.
Important: Animated blurs are very slow and not recommended.
Any filters you add or adjust will be previewed on the canvas. You can also add multiple filters to a single element and toggle their visibility and order in the filter settings.
Adding a backdrop filter to any element lets you apply filter effects (e.g., blur, color shift, contrast, etc.) to transparent areas inside the element’s boundary. Anything behind the element that’s visible through the transparent areas is affected by the backdrop filter.
You can also apply multiple backdrop filters to a single element. You can layer and combine the backdrop filters together to create a variety of visual effects.
Good to know: Because the backdrop filter applies to everything behind the element, you must make the element, portions of the element, or its background at least partially transparent to see the effect.
There are 8 Backdrop filters. Filters that behave similarly are placed next to each other in the Backdrop filters dropdown. These filter groupings consist of:
- General (Blur)
- Color adjustments (Brightness, Contrast, Hue rotate, and Saturation)
- Color effects (Grayscale, Invert, and Sepia)
To see examples of each backdrop filter and learn more about how to use them, check out our lesson on backdrop filters.
Using the right cursor is important to indicate to users what’s going to happen as they navigate a page. Using a cursor that doesn’t match the result can lead to confusion or inaction.
The default cursor value is auto. It will render the default cursor for specific element types, as specified by the browser’s default settings. For example, hovering over links shows a pointer cursor, and hovering over text shows a text cursor.
In most cases, it’s best to keep this default setting and allow the browser to pick the right cursor. That said, you can override the browser’s default cursor for an element by changing the cursor value in Style panel > Effects > Cursor.
You can test how your cursor will change when you hover over your styled element in preview mode.
Pointer events let you determine which elements respond to click and touch interactions, so you can manage interactions on overlapping elements (e.g., a background video with overlaid text and icons) or designs with hover animations or tooltips.
The default pointer event value is auto, which allows standard click and touch interactions. You can set the value to none to disable all click and touch interactions on a selected element in Style panel > Effects > Events.