As an aside but still relevant question, why is CSS preferred over JS when these days it can do lots of things like JavaScript and probably uses similar resources.
This is very cool. I have no idea how this one work. I'm guessing most of the magic is in the box shadow?
https://codepen.io/yuanchuan/pen/OJRqGvz
As an aside but still relevant question, why is CSS preferred over JS when these days it can do lots of things like JavaScript and probably uses similar resources.