+ 9
How to blur background image in html.
10 ответов
+ 6
You should be able to filter
And blur inside the css as
filter: blur(2px);
-webkit-filter: blur(2px);
But it doesn't seem to be working
+ 6
Thank for your suggestion. 👌
+ 6
Thanks you all for give me suggestion. 🥲🥲
+ 5
Koli will this work for you ?
<img src="http://www.sololearn.com/uploads/slider/1.jpg" class="blured">
.blured {
-webkit-filter:blur(2px);
}
+ 4
It's a simple image but I want to blur background image. Like the link above in the question can I blur it.
+ 2
Koli try taking a simple image element and using it as a background by positioning it under rest of elements. This way:
https://code.sololearn.com/Ww2LwlXw1Iwt/?ref=app
+ 2
Dian Lerry Gabatin Lizardo (Dian) if you apply the filter blur property to an element you won't set it just for that element, but for all it's content, so won't be just background that gets blurred but all content and element inside and it will be unreadable. Maybe, did you used IA to find that answer?
+ 1
Try this in your CSS, it will make your background blured:
filter: blur(8px);
-webkit-filter: blur(8px);
Let me know if it worked or not.
0
Hi