I have this very simple pen of a blurred background image.
HTML
<div> </div>
CSS
div {
background: url(http://s15.postimg.org/4elomwgbv/luxvitae.jpg) no-repeat;
width: 1500px;
height: 1000px;
-webkit-filter: blur(25px);
-moz-filter: blur(5px);
-o-filter: blur(5px);
-ms-filter: blur(5px);
filter: blur(5px);
}
body{
background-color: green;
}
Now what happens is that the blur actually takes into account the surrounding or lying below elements, which i don't like
It basically shows the background where there should be no background, and blurs the image into the background. What I want is to see: no green overlapping into my div container. My div should only contain the image that is blurred.
someone got an idea?