![]() |
VOOZH | about |
The opacity attribute specifies the transparency of an object or of a group of objects.
Syntax:
opacity= "opacity"
Attribute Values:
We will use the opacity attribute for setting the opacity of the element.
Example 1: In this example we will use the opacity attribute for setting the opacity of circle element.
Output:
👁 ImageExample 2: In this example we will use the opacity attribute for setting the opacity of rectangle element.
Output:
👁 Image