+ 3

How can I create a blur background effect in CSS?

In css there are ways to blur a background image using filter function but I want the effect that a certain element of the DOM is in focus while all others are blurred. I need this effect to create the background of a modal box. How can I do this?

25th Mar 2020, 11:45 AM
Jalaj Kumar
Jalaj Kumar - avatar
3 odpowiedzi
+ 1
hi, maybe you will find your respond here : https://www.w3schools.com/howto/howto_css_blurred_background.asp
25th Mar 2020, 1:06 PM
Oneill~Онеилл~奥尼尔~ओनील~اونیل~*‎
Oneill~Онеилл~奥尼尔~ओनील~اونیل~*‎ - avatar
0
Use overlay instead. I am coding a demo, I'll finish after an hour https://code.sololearn.com/W6u9K4tfQ0BD/?ref=app
25th Mar 2020, 11:49 AM
Gordon
Gordon - avatar
0
https://code.sololearn.com/Wyt4ndcYWZTW/?ref=app
25th Mar 2020, 12:13 PM
visph
visph - avatar