Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> img { -webkit-filter: opacity(0.4); /* Safari 6.0 - 9.0 */ filter: opacity(0.4); max-width: 100%; } </style> </head> <body> <h2>Filter example</h2> <p>For this image the filter is set to "opacity(0.4)".</p> <p> <img src="/uploads/media/default/0001/01/4982c4f43023330a662b9baed5a407e391ae6161.jpeg" alt="Background Image"> </p> </body> </html>