79439647

Date: 2025-02-14 14:21:56
Score: 2
Natty:
Report link

Without hardware accelaration in browser, drop-shadow causes some serious fps drop because it's cpu bound.

If your element's shape is box-like you can go with box-shadow it's lightweight by nature. Otherwise, you need to turn on hardware accelaration in browser.

For detailed information you can check : https://css-tricks.com/breaking-css-box-shadow-vs-drop-shadow

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: onur altuntaş