S
S
Sasha Brahms2015-12-19 18:54:21
css
Sasha Brahms, 2015-12-19 18:54:21

How to apply an svg filter to an element or how to use blur correctly?

There is a block with a background image, you need to create a pseudo-element and apply a filter
to it. This is necessary so that when you hover over the block, the filter disappears and the image is clean...
if you use filter: blur(20px) - (I need a strong blur), then the blur goes beyond the block ... and it does not look very nice ..
Has anyone come across mb and tell me?
I tried to insert a svg image with a filter, and hide it on hover, but the problem is that the main block has a background-size: cover
Here for clarity:
30181d156d0d4f82a228943923e24047.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question