Blur effect on a div element

bialasikk picture bialasikk · Aug 15, 2012 · Viewed 117.2k times · Source

Is it possible to add a gaussian blur on div element? If yes, how I can do this?

Answer

BenSlight picture BenSlight · Apr 8, 2015

I think this is what you are looking for? If you are looking to add a blur effect to a div element, you can do this directly through CSS Filters-- See fiddle: http://jsfiddle.net/ayhj9vb0/

 div {
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(5px);
  width: 100px;
  height: 100px;
  background-color: #ccc;

}