blur property in css code example
Example 1: how to do a background blur in css
backdrop-filter: blur(10px);
Example 2: image blur css
filter: blur(8px);
-webkit-filter: blur(8px);
Example 3: blur css
.mydiv { filter: grayscale(50%) }
img {
filter: grayscale(0.5) blur(10px);
}
Example 4: css blur background
backdrop-filter: none;
backdrop-filter: url(commonfilters.svg#filter);
backdrop-filter: blur(2px);
backdrop-filter: brightness(60%);
backdrop-filter: contrast(40%);
backdrop-filter: drop-shadow(4px 4px 10px blue);
backdrop-filter: grayscale(30%);
backdrop-filter: hue-rotate(120deg);
backdrop-filter: invert(70%);
backdrop-filter: opacity(20%);
backdrop-filter: sepia(90%);
backdrop-filter: saturate(80%);
backdrop-filter: url(filters.svg#filter) blur(4px) saturate(150%);
backdrop-filter: inherit;
backdrop-filter: initial;
backdrop-filter: unset;
Example 5: fliter css
filter: url("filters.svg#filter-id");
filter: blur(5px);
filter: brightness(0.4);
filter: contrast(200%);
filter: drop-shadow(16px 16px 20px blue);
filter: grayscale(50%);
filter: hue-rotate(90deg);
filter: invert(75%);
filter: opacity(25%);
filter: saturate(30%);
filter: sepia(60%);
filter: contrast(175%) brightness(3%);
filter: none;
filter: inherit;
filter: initial;
filter: unset;
Example 6: how to blur background css
background blur