+ 2

How can I blur the background-image of an parent element without effecting the child elements?

18th Jul 2020, 4:31 PM
Abir Sheikh
Abir Sheikh - avatar
2 Respostas
+ 4
Simply add some gradient over it https://code.sololearn.com/WNqaKKh7j66I/?ref=app
18th Jul 2020, 4:58 PM
Raj Chhatrala
Raj Chhatrala - avatar
+ 1
Change the z-index of the element that you don't wanna blur to a higher value than the parent. If you are using some CSS library/framework nor you don't know the z-index and don't wanna find it by using the dev tools, so just set it to something like 2000 :)
25th Jul 2020, 4:09 PM
Aaron Stiebler Carneiro da Silva
Aaron Stiebler Carneiro da Silva - avatar