Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

CSS Box-Shadow Animation Technique?

CSS Box-Shadow Animation Technique?


So I've been doing a ton of skulking around on CodePen and have found a lot of awesome demos, particularly on the CSS front. What I'm seeing consistently on the CSS front though is often utilizing the box-shadow property to produce crazy looking animations/graphics, this is an example of what I'm talking about.

Now, I'm guessing these people aren't doing this entirely by hand, and that they're using some kind of graphic design application to render the animation/graphic into valid CSS. Is there an application(s) that does such a thing? If so, what is it?

Problem courtesy of: Lester Peabody


Another author over on Codepen has released a little PHP library that converts images to CSS making use of this technique, however all the images it produces seem to crash Chrome's inspector. Not entirely sure why.

Edit: I just had Chrome finally respond and the code it produces doesn't seem greatly optimised.

Solution courtesy of: amustill


View additional discussion.

This post first appeared on CSS3 Recipes - The Solution To All Your Style Problems, please read the originial post: here

Share the post

CSS Box-Shadow Animation Technique?


Subscribe to Css3 Recipes - The Solution To All Your Style Problems

Get updates delivered right to your inbox!

Thank you for your subscription