Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   HTML / DHTML (http://siteownersforums.com/forumdisplay.php?f=7)
-   -   Opacity (http://siteownersforums.com/showthread.php?t=59717)

davikerkrish 09-06-2012 04:02 AM

Opacity
 
This is pretty much straight forward and easy to achieve compared to the other hacks.

.opacity_div {
filter: alpha(opacity = 50);
}

abhirampathak3 12-05-2012 05:28 AM

This is Opacity Image Transparency coding. If you want to do this...

img
{
opacity:0.4;
filter:alpha(opacity=40); /* For IE8 and earlier */
}
img:hover
{
opacity:1.0;
filter:alpha(opacity=100); /* For IE8 and earlier */
}

alligatortek001 02-26-2014 06:10 AM

Quote:

Originally Posted by davikerkrish (Post 233078)
This is pretty much straight forward and easy to achieve compared to the other hacks.

.opacity_div {
filter: alpha(opacity = 50);
}

The opacity property sets the opacity level for an element.

The opacity-level describes the transparency-level, where 1 is not transperant at all, 0.5 is 50% see-through, and 0 is completely transparent.


All times are GMT -7. The time now is 01:54 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.