I've been trying to add blur effect like seen in iOS7 control center, with the following code, which comes from the accepted answer of this question.
body {
-webkit-filter: blur(20px);
opacity: 0.4;
}
However, when I wrote the above snippet and ran the app, it displays the blur effect all over the screen, and hence the contents there are not readable. However, the example below only affects the background properly, since I override the blog contents' background-color
body {
background-color: red;
}
.blog {
background-color: white;
}
That being said, if I attempt to take the same approach with the following code, which should override the background:
.blog {
-webkit-filter: blur(0px);
opacity: 1.0;
}
It still blurs all over the window. So why does such discord occur?
I would like to affect the blur only on the background - in other words, I don't want it to make an influence on something like a header, footer, blog post, aside section's contents (like blog tag categories), advertisement, etc...
I use HTML 5 and CSS 3 with Chrome browser and Stylus and Bootstrap 3.
[Update]
I wouldn't like to use an additional background image - just want to make the background be blur.