blur effect on images html/css code example
Example 1: how to do a background blur in css
/* Answer to "blur behind element css" */
/*
This blurs everything behind the element it's applied to
*/
backdrop-filter: blur(10px);
Example 2: how to blur the background image in html
.bg-image {
/* The image used */
background-image: url("photographer.jpg");
/* Add the blur effect */
filter: blur(8px);
-webkit-filter: blur(8px);
height: 100%;
background-position: center;
}