Greetings.
How to make filter: blur (5px); only blur the background of the block that I need?
I searched in the answers and found an example: http://jsfiddle.net/juanojeda/T5j6H/1/
<p>Something to test that the content is in front of the background.</p> body { position: absolute; top: 0; bottom: 0; left: 0; right: 0; height: 100%; } body:before { content: ""; position: absolute; height: 20%; width: 20%; background: url(http://lorempixel.com/420/255); background-size: cover; z-index: -1; /* Keep the background behind the content */ /* don't forget to use the prefixes you need */ -webkit-transform: scale(5); -webkit-transform-origin: top left; -webkit-filter: blur(2px); } It works, everything is super, but I need the code to work not for the body but for any block and so that there are no indents inside the block that will be blurred.
Help me please. =)