Syntax
opacity: value
Values
The value is a number from the range [0.0; 1.0].
The value 0 corresponds to the full transparency of the element, and 1, on the contrary, its full opacity.
Fractional numbers of the form 0.6 establish semitransparency.
It is allowed to write numbers without zero before, of the form:
opacity: .6;
Example
.semi {
opacity: 0.5; /* Element's opacity */
}
Войдите чтобы поставить Нравится
Войдите чтобы прокомментировать