Create Apple style image reflections
Posted 4 months, 3 weeks ago at 10:07 am. 5 comments
Found this very cool script today Reflection.js that will create those funky image reflections that you see on the Apple site. Just download and install this JavaScript into the head section of your web page:
<script type="text/JavaScript" src="reflection.js"></script>
To use just add class=”reflect” to your image tags:
<img src="myimage.jpg" class=”reflect” />
Try the demo page where you can change the opacity, reflection height, scale, and background colours.
very nice! =)
Have you seen this? A whole lot of AJAX effects including reflections that you described:
http://miniajax.com/
No I had not, thanks for the link.
Hi Cameron,
Just discovered your blog. Thanks for the reflection.js link as well as for curvyCorners (I’m using it all over the place)!
MegaThanx!
nagyon köszönöm!