Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Svg Filter vs CSS Filter - Blur Performance Differences [closed]

Tags:

css

filter

svg

There are differences in performance between the SVG filter and the CSS Filter?


1 Answers

hmmm somehow i shouldn't think the performance would be much of an issue CSS filters are in a way based off SVG filters.

However in terms of critical path, if you embed your svg's (including the filters) i would think they might have better performance because the filters should be parsed with the DOM instead of having a css pointer attached and then rendered after the css is parsed.

If you use sprites however the performance would be pretty much the same.

like image 160
marblewraith Avatar answered Mar 02 '26 15:03

marblewraith



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!