how to add a blur around an image html code example
Example 1: 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;
}
Example 2: image blur css
filter: blur(8px);
-webkit-filter: blur(8px);