0Pricing
CSS Academy · Lesson

filter: blur brightness contrast grayscale

Apply photographic filter effects to elements using the CSS filter property functions.

The CSS filter Property

The filter property applies graphical effects to elements — similar to Photoshop adjustment layers — without editing the actual image.

filter: blur()

Applies a Gaussian blur. The argument is the blur radius.

.frosted {
  filter: blur(8px);
}

.hero-bg {
  filter: blur(3px) scale(1.05);
  /* scale prevents blurred edges from showing */
}

All lessons in this course

  1. filter: blur brightness contrast grayscale
  2. backdrop-filter for Frosted Glass
  3. mix-blend-mode for Layer Blending
  4. isolation Property
← Back to CSS Academy