Reduce the size of the actual image, and in your HTML code, set large sizes for width and height.
For example, they have the width and height of a real image, possibly 50 pixels each. In the HTML code, set the width and height so that you can say something like: 150px.
Now this will make the image stretch out and therefore give it a blurry effect.
Well, that was a logical approach.
If you want to use CSS (CSS3), follow these steps:
filter: blur(5px) brightness(0.5);
just set the values ββto your desired position.
Confirmation: http://www.inserthtml.com/2012/06/css-filters/
hope this helps ...
EDIT 1:
<div class="container"> <div class="background"></div> <div class="text"></div> </div>
put all your text in a div whose class is βtextβ, and leave the div with the βbackgroundβ class empty.
The following styles also apply:
.background { background: #CCC; filter: blur(5px) brightness(0.5); position: absolute; top: 0; left: 0; height: 100%; width:100%; } .text { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
source share