CSS filter effects
The properties in the CSS filter effects module let you define a way of processing an element's rendering before the element is displayed in the document. Examples of such effects include blurring and changing the intensity of the color of an element.
Filter effects in action
Play with the various sliders to apply filter effects to the image below.
Reference
>Properties
Functions
Data types
<filter-function>data type
SVG elements
Guides
- Using CSS filter effects
-
Overview of the concepts surrounding CSS filter effects, including properties, filter functions, and SVG filters, with an explanation of filter values, source order, and value interactions.
- Applying effects with SVG filters
-
Filters blur, offset, recolor, and combine the pixels an element paints, in SVG and in HTML content.
Related concepts
<image>data type- interpolation glossary term
CSS compositing and blending module
Specifications
| Specification |
|---|
| Filter Effects Module Level 2> |
| Filter Effects Module Level 1> |
See also
box-shadowopacity- Using relative colors guide
- CSS compositing and blending module
color-interpolation-filtersSVG property- Scalable Vector Graphics (SVG)