Thursday, October 14, 2010

FloatBox (floating effect for <div> using CSS3 box-shadow)

I've been bored at the IPC10 so I've been playing around a bit and made a hovering floating box effect in JavaScript. This thing is dynamic so the screenshot is not so useful.


The script is using jQuery and Shadow animation jQuery-plugin. I had to fix the RegExp of the plugin to accept negative shadow offsets like this:
(-?\+?[0-9]+)
 Download: http://jump.fm/CUKDM

No comments: