Reputation: 4106
how to make a transparent image with jquery or css? Is it a possible?
Thanks
Upvotes: 0
Views: 134
Reputation: 8390
There are a number of methods to get transparency in your web design. A good break down of the possibilities exists here:
http://css-tricks.com/transparency-in-web-design/
Bob
Upvotes: 0
Reputation: 997
Just open Adobe, create new canvas, size x*y, transparent background, save for web & devices as *.png with transparency enabled.
Casablanca is right. Most you can do with css and jquery is use alpha properties to make it see-through. But it's easier to just upload a transparent image.
Upvotes: 0
Reputation: 51640
You may want to look at the CSS opacity
property. As always, this is not compatible with IE, where you have to use filter:alpha
.
See here for a couple of examples: http://www.w3schools.com/Css/css_image_transparency.asp
Upvotes: 3