how to blur background in css 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 do a background blur in css
backdrop-filter: blur(10px);
Example 3: how to blur the background image in html
.bg-image {
background-image: url("photographer.jpg");
filter: blur(8px);
-webkit-filter: blur(8px);
height: 100%;
background-position: center;
}
Example 4: image blur css
filter: blur(8px);
-webkit-filter: blur(8px);
Example 5: blur css
.mydiv { filter: grayscale(50%) }
img {
filter: grayscale(0.5) blur(10px);
}
Example 6: add blur background css
backdrop-filter: blur(5px);