Following is the code to make the element transparent.
- Code: Select all
#element
{
opacity: 0.5;
-moz-opacity: 0.5;
-khtml-opacity: 0.5;
filter: alpha(opacity=50);
}
Transparent Elements using CSS
1 post • Page 1 of 1
Transparent Elements using CSSIf you want to change the transparency of any element in your webpage, then you can do this using css. The following is a cross-browser css code to change the transparency of an element. It is done by changing the opacity property of any element.
Following is the code to make the element transparent.
1 post • Page 1 of 1
Return to CSS - Cascading Style Sheet Who is onlineUsers browsing this forum: No registered users and 0 guests |
|