Prev Page Next Page
Top

CSS Opacity / Transparency

➢The opacity property specifies the opacity/transparency of an element.
➢The opacity property can take a value from 0.0 - 1.0. The lower the value, the more transparent.

EXAMPLE:

img {
     opacity: 0.5;
}
img:hover {
     opacity: 1.0;
}

Run


Prev Page Next Page





FEEDBACK

Rating


Message