Hi! I’m a semi-professional web programmer and would like to share web development tricks with new developers.
This is my first blog this web trick thing:
How to make all browsers to show a transparent layer?
Div.abc {
filter:alpha(opacity=80);
-moz-opacity:0.8;
opacity:0.8;
}
These are CSS codes for DIV layer with class name of “abc” using class=”abc” notation.
With Comment:
filter:alpha(opacity=80); /*This is for IE with transparency of 80%*/
-moz-opacity:0.8; /*This is for Firefox with transparency of 80%*/
opacity:0.8; /*This is for Safari with transparency of 80%*/
No comments:
Post a Comment