facebook instagrammenu-icon twitter

Flat button with dynamic shadow using CSS only

Published August 24, 2016

A really cool way to display the shadow of a button in the opposite direction of what the user is hovering over.

See the CodePen in action here: http://codepen.io/JamesWiseman/pen/RRmaBb


See the Pen Mouse tracking shadow button by James Wiseman (@JamesWiseman) on CodePen.