Link: How to animate “box-shadow” with silky smooth performance

Link: How to animate “box-shadow” with silky smooth performance


Box-shadow transition

Takeaway note:

  1. Use :after to apply the box shadow.
  2. Transition opacity of :after element instead of box-shadow.
Makzan
I teach web design. I write books on HTML5 games development. I host classes on mobile web and app development. I made animation with Adobe Flash (now Animate).

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.