Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Der Titel des Dokuments</title> <style> img.a{ opacity: 1; filter: alpha(opacity=100); /* IE8 and lower */ } img.b{ opacity: 0.6; filter: alpha(opacity=100); /* IE8 and lower */ } img.c{ opacity: 0.2; filter: alpha(opacity=100); /* IE8 and lower */ } </style> </head> <body> <h2>Beispiel für die Eigenschaft opacity</h2> <h3>Opacity: 1.0;</h3> <img src="/uploads/media/default/0001/01/4982c4f43023330a662b9baed5a407e391ae6161.jpeg" alt="house" width="300" height="300" class="a"> <h3>Opacity: 0.6;</h3> <img src="/uploads/media/default/0001/01/4982c4f43023330a662b9baed5a407e391ae6161.jpeg" alt="house" width="300" height="300" class="b"> <h3>Opacity: 0.2;</h3> <img src="/uploads/media/default/0001/01/4982c4f43023330a662b9baed5a407e391ae6161.jpeg" alt="house" width="300" height="300" class="c"> </body> </html>