4 ms·
Should be the opposite, actually, since the :filter are backed by hardware graphic acceleration.
by runxel 6y ago
Should be the opposite, actually, since the :filter are backed by hardware graphic acceleration.
- tobr 6y agoNo, it should not be the opposite. Any optimization or performant implementation you can think of that works for Gaussian blur, also works for box-shadow. It is a Gaussian blur, but with the added restriction that you know you’re always blurring a single-colored rect or rounded rect.