- Forums
- CSS
- How To Use CSS To Make Image Fade
are you wondering how you can make an image fade out? well if you are maybe i can help you. i will show you how you can make a picture on your website fade out [3364], Last Updated: Mon Jun 24, 2024
Webune Support
Tue Nov 30, 2010
2 Comments
801 Visits
Today's support question comes from a user who wants to make his gallery images fade out.. so are you wondering how you can make an image fade out? well if you are maybe i can help you. i will show you how you can make a picture on your website fade out.
the way to do this is by using CSS. specifically using the
opacity if you are using firefox, or
filter:alpha(opacity=x) if you are using Internet Explorer
here's an example:
Without: And now with the opacity/filter property: this is the code i used:
<img src="http://www.wallpaperama.com/wallpapers/flower/wallpaper/vivid/thumbs/832/vivid-wallpaper.jpg" style="opacity:0.4;filter:alpha(opacity=40)" />
you can learn more at: http://www.w3schools.com/Css/css_image_transparency.asp
ww
https://www.webune.com/forums/20101130czhr.html