css shadows
comment 0

Cool CSS Shadows

Change lighting source by moving your cursor around. This cool CSS shadows in unique javascript was done by Benjamin Bojko and Naim Sheriff from Big Spaceship. You can play around with dynamic light position, customize your shadows and use text or boxShadow based on content. This javascript has no library dependencies and is compatible with AMD. It also works in browsers that support textShadow or boxShadow and auto-prefixes if necessary.

View Demo

Filed under: JavaScript

About the Author

Posted by

Sani Halid is a front-end developer at Stampede and is committed to clean and elegant code. Yet another gamer to join the pack, Sani is also the Editor at Constructs where he shares his daily CSS findings and other front-end development goods.

Leave a Reply