Filter
The CSS filter property applies graphical effects that modify an element’s rendered appearance.
CSS in Depth, Second Edition
The CSS filter property applies graphical effects such as blurring, color adjustment, opacity changes, or shadows to an element.
- How it is used
- Applies visual effects selectively to elements or backgrounds, especially images and interactive galleries.
- How deep it goes
- Explains whole-element scope, blur lengths, filter functions, composition order, hover patterns, and transitions.
- Examples
- Demonstrates a blurred bird image and a gallery that de-emphasizes non-hovered images.
- What you can do after
- Build subtle image effects and interactive gallery emphasis with composed filter functions and transitions.
Tiny CSS Projects
The CSS filter property applies graphical effects that modify an element's rendered appearance.
- How it is used
- Styles newspaper-layout images by applying graphical effects through CSS functions.
- How deep it goes
- Explains the property-function pattern, grayscale percentages, and performance considerations without cataloging every available function.
- Examples
- Uses a photograph analogy, altered-image figures, and img { filter: grayscale(100%) } as the worked example.
- What you can do after
- Build it from scratch by applying grayscale effects to images and judging when CSS filtering may affect page performance.
Related concepts
- style propertykind of · A style property is a named setting or interface attribute that specifies or exposes a presentation characteristic of an element or view.
- transitionconfigured by · A CSS transition interpolates changes in a CSS property’s computed value over time when that value changes.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

