Show Output
<!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.jpeg" alt="nexladder" /></p> <p>Transparent Image</p> <p><img class="transparent" src="https://nexladder.com/images/spituk_gustor.jpeg" alt="nexladder" /></p> </body> </html>