Interactive online courses HTML Academy
2026-03-09 12:25 Diff

Several filters can be applied to the same block at the same time. To do this, all filters are simply listed separated by spaces after the word filter:

.effect { filter: sepia(50%); filter: sepia(50%) blur(5px); filter: sepia(50%) blur(5px) opacity(50%); }

You should keep in mind that if you list the filters in a different order, you will get a different result. This is because each subsequent filter is applied to the image after the effect of the previous filter has already been applied.

Let’s try this out in practice.