css how to blur background-image code example
Example 1: how to blur background color in css
background: rgba(255,255,255,0.5);
backdrop-filter: blur(5px);
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;
}