Here is a simplified version of my HTML and CSS:
@keyframes animatedBackground {
from {
background-position: 0 0;
}
to {
background-position: 100% 0;
}
}
*{margin:0;padding:0;}/*added as requested*/
.background-image {
background-image: url("http://wallpapercave.com/wp/UoQbFHi.jpg");
background-position: 0px 0px;
left: 0;
bottom:0; /*added as requested*/
right:0;
top:0; /*added as requested*/
position: fixed;
z-index: 1;
animation: animatedBackground 10s linear infinite;
background-size: cover;
height: 160%;
-webkit-filter: blur(5px);
filter: blur(5px);
}
<div class="background-image"></div>
Apparently
-webkit-filter: blur(5px);
filter: blur(5px);
Is not working correctly in this context. In addition, I am experiencing an unusual spacing issue at the top when viewing it in my browser.
EDIT: The space at the top persists despite efforts to correct it. View the result https://i.sstatic.net/XMiKT.png