Which CSS property sets the element's opacity to 50%?
Explanation

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 */
   }

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по HTML & CSS
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты