Interactive online courses HTML Academy
2026-03-09 10:46 Diff

Now let’s see how we can apply smooth transitions to filters.

For example, you can use filters to make an image black and white and blurred, remove the filter effect upon hover, and make the visual change itself smoother.

By the way, the filter property has a default value of none. Let’s use it to remove the filter effect when hovering the cursor over the image.

The transition property is discussed in detail in the “Smooth Transitions” section.