Please note, this is a STATIC archive of website help.webflow.com from December 2024, cach3.com does not collect or store any user information, there is no "phishing" involved.

Using CSS filters

Updated 
May 27, 2016

CSS filters give you a powerful way to apply a wide array of visual effects to elements on your website, including images, background videos, even text. They’re like a photo editing tool — but in your browser. With CSS.

You'll find the new Filters in the in the Effects area of the Style tab.

To start using CSS filters in Webflow, open the Style panel, look for Effects, then Filters.

Filter Types

In Webflow, we break these filter types out into three categories:

  1. General
  2. Color Adjustments
  3. Color Effects

General

Under General, you’ll find the Blur effect, which is handy when you’re trying to make overlaid text easier to read.

Blur is a super handy effect for increasing the legibility of overlaid text.

Color Adjustments

This type contains effects that alter the color of an element (or group of elements, if applied to a parent element), and includes:

Hue Rotate

This will adjust the hue of the image, in turn affecting both the brightness and intensity of the three primary hues of red, green, and blue.

Saturate

Saturation is defined as the intensity of color. Adjusting the saturation would in turn intensify or dim the color intensity of your element.

Brightness

Instead of using an overlay, you could simply adjust the brightness of an image (or other element) to dim it.

Contrast

Increasing or decreasing the contrast alters the separation between dark and bright areas of the element.

Color Effects

The Color Effects let you directly alter elements’ colors, naturally enough.

Grayscale

Adjusting the Grayscale value lets you take an image from full-color to black-and-white.

Sepia

Sepia adds a dark reddish-brown color (reminiscent of old photographs) to your image or element. You can adjust from full Sepia (which will add that darker, reddish-brown tint), to 0 Sepia, which will utilize the original color.

Invert

Inverting the colors of an element transforms the element’s darkest parts into the lightest parts and vice versa.

Using CSS filters with interactions

CSS filters are particularly handy for interaction design. Because this is a CSS attribute, you can add a filter when someone hovers over an element on a page to indicate its interactivity.

For example, you could add an effect to a button that takes it from greyscale to full color on hover.

Add filters using states like hover to add interactivity to buttons.

Or you could throw in an Easter egg: a secret message that can only be seen on hover. Just add a filter to the static text that removes the Blur effect.

Reverse the blur on hover to reveal a hidden message.

The possibilities are endless!

More articles on 
Effects

No related articles.

Tutorials on 
Effects
Words to know
Cascading Style Sheets (CSS)

The rules that define how a web page's elements are displayed in a browser.

CSS Filter

A CSS property that defines visual effects like blur and saturation.