blur effect in 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: image blur css

filter: blur(8px);
  -webkit-filter: blur(8px);

Example 3: add blur background css

backdrop-filter: blur(5px);

Example 4: css blur background image only

// best workaround is two images layered... (one on left is on top)
background-image: url(opaque_blurred.png), url(regular_bakground_img.jpg);
// BAM! that right there is worth at least a buck donation ;-)

Tags:

Css Example