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