Skip to main content
Brave Programmer Logo

BraveProgrammer

BraveProgrammer

HomeProjectsBlogsCoursesLessonsAbout

Site footer

BraveProgrammer

Free coding courses, practical tutorials, and real projects from BraveProgrammer. Learn web development with React, Next.js, and TypeScript.

Navigation

  • Home
  • Projects
  • Blogs
  • Courses

Resources

  • About
  • Lessons
  • Teach on BraveProgrammer

© 2026 BraveProgrammer. All rights reserved.

CSS Filters | CSS Course lesson | BraveProgrammer
  1. Courses
  2. /
  3. CSS Course

Lesson 17 of 50

·css

CSS Filters

7 mins

Course progress34%

What you'll learn

Keep these ideas in mind as you work through the lesson.

3 points
  • `filter` is hardware accelerated in modern browsers.
  • Use `backdrop-filter` for glass‑morphism effects (needs background with transparency).
  • Apply `filter` sparingly – many filters can be CPU intensive on large images.

Filters apply visual effects similar to Photoshop.

filter: blur(5px) contrast(150%) grayscale(0.5) hue-rotate(45deg);

Filters work on images, videos, and any element with rendered content.


Example: Hover‑blur card

.card img { transition:filter .3s ease; }
.card:hover img { filter:blur(2px) brightness(0.9); }
Make it stickPractice what you've learned1 quiz · 6 practical tests · Optional activities from CSS CourseBrowse activities
Previous lessonCSS Gradients Deep DiveContinue to lesson 18CSS Blend ModesBack to CSS Course curriculum