It is used to specify the opacity/transparency of an element.
It is used to specify the opacity/transparency of an element.
See this example:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Example of CSS Opactiy</title>
<style>
.transparent {
opacity: 0.5;
filter: alpha(opacity=50); /* For IE8 and earlier */
}
</style>
</head>
<body>
<p>Normal Image</p>
<p><img src="https://nexladder.com/images/spituk_gustor.jpg" alt="nexladder" /></p>
<p>Transparent Image</p>
<p><img class="transparent" src="https://nexladder.com/images/spituk_gustor.jpg" alt="nexladder" /></p>
</body>
</html>