JavaScript непрозрачность
// Opacity: 0 makes the image invisible, 1 is default
document.getElementById("myId").style.opacity = "0";
ayaan
// Opacity: 0 makes the image invisible, 1 is default
document.getElementById("myId").style.opacity = "0";
background: rgba(255, 255, 255, 0.25);
.opacity30 {
opacity: 0.3;
filter: alpha(opacity=30); /* For IE8 and earlier */
}
h1 {background-color:rgba(255,0,0,0.3);}