Lesson 17 of 50
cssCSS Filters
7 mins
Course progress34%
What you'll learn
Keep these ideas in mind as you work through the lesson.
Lesson 17 of 50
css7 mins
Keep these ideas in mind as you work through the lesson.
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.
.card img { transition:filter .3s ease; }
.card:hover img { filter:blur(2px) brightness(0.9); }