Playing around in Photoshop, I understand the role that opacity can play in the design of an image. Why can’t we take that over to the web? CSS opacity has been overlooked for quite some time and there doesn’t seem to be one solid, cross-browser solution to the problem. Over the past day or two I’ve been looking at ways to create opacity in images WITHOUT using JavaScript. This worked for me using images and DIV elements.
.show-50 { -moz-opacity:.50; filter:alpha(opacity=50); opacity:.50; } |
Sample











0 comments:
Post a Comment