Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Should be the opposite, actually, since the :filter are backed by hardware graphic acceleration.


No, 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: