+ 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 Answers
+ 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