Link: How to animate “box-shadow” with silky smooth performance
Box-shadow transition
Takeaway note:
- Use :after to apply the box shadow.
- Transition opacity of :after element instead of box-shadow.
Link: How to animate “box-shadow” with silky smooth performance
Box-shadow transition
Takeaway note: