I am building a website with :: after element with backgound and CSS3 blur. I noticed that applying CSS3 blur has a huge negative effect on performance.
When using CSS3 blur, a drop of 10-20 frames per second (from 60 frames per second) occurs.
I used CSS3 filters to apply blur, because this is the general code applied to images that I want blurry, i.e. I do not want to use the image editor to blur images manually.
.blur::after { background-image:url(dog.png); filter:blur(3px); }
So my question is: are there any alternatives to using a filter: blur the element and its background that have better performance without using an image editor?
ps, I do not mind using javascript, jquery, css or html elements.
performance css3
Thomas E.
source share