Questions

Related Posts

background transparency using RGBA in CSS

Normal transparency code as below in css

.transbox

{
width: 400px;
height: 180px;
margin: 30px 50px;
background-color: #ffffff;
border: 1px solid black;
/* for IE */
filter:alpha(opacity=60);
/* CSS3 standard */
opacity:0.6;
}


Using rgba in CSS to background transparency

.transbox{
background-color: rgba(204,204,255,0.60); /* pale weak blue, 60% opacity */
}

Your Answers

Your Name:
Your Answers :
<> is a code tag
Preview
Enter the verification code:

Answers

No Answers..