Open In App

How to make Element transparent in CSS ?

The CSS opacity Property is used to adjust the transparency of an element. It controls the level of opacity or see-through effect, allowing you to make elements partially or fully transparent.

Note: The opacity property accepts values between 0 (completely transparent) and 1 (completely opaque).

Syntax

.transparent-box {
opacity: 0.7;
}

Features

Article Tags :