CSS непрозрачность цвет фона
background: rgba(255, 255, 255, 0.25);
Lucas Juan
background: rgba(255, 255, 255, 0.25);
.fade {
opacity: 1;
transition: opacity .25s ease-in-out;
-moz-transition: opacity .25s ease-in-out;
-webkit-transition: opacity .25s ease-in-out;
}
.fade:hover {
opacity: 0.5;
}
.opacity30 {
opacity: 0.3;
filter: alpha(opacity=30); /* For IE8 and earlier */
}
h1 {background-color:rgba(255,0,0,0.3);}
#fadeout{
opacity: 0;
transition: opacity 2s linear;
}
#fadein{
opacity: 1;
transition: opacity 2s linear;
}
.div{
opacity: 0.8; /* 1 means fully visible, 0 means invisible */
}