Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of CSS3 Opacity Filter Effect</title> <style> img.transparent { -webkit-filter: opacity(80%); /* Chrome, Safari, Opera */ filter: opacity(80%); } img.highly-transparent { -webkit-filter: opacity(30%); /* Chrome, Safari, Opera */ filter: opacity(30%); } /* Some CSS to beautify this example */ table td{ padding: 10px; text-align: center; } </style> </head> <body> <table> <tr> <td> <img src="/examples/images/parrot.png" alt="Parrot"> </td> <td> <img class="transparent" src="/examples/images/parrot.png" alt="Parrot"> </td> <td> <img class="highly-transparent" src="/examples/images/parrot.png" alt="Parrot"> </td> </tr> <tr> <td>Original Image</td> <td>opacity(80%)</td> <td>opacity(30%)</td> </tr> </table> </body> </html>