CSS · Colour and backgrounds

filter

Applies graphical effects such as blur, brightness, contrast and grayscale.

Syntax
filter: blur(2px) brightness(1.1)

Example

Try it

More in this group

accent-color background-clip background-color background-image background-position background-repeat background-size color

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course