HTML CSS examples for CSS Property:opacity
avoid opacity of an img placed in a DIV with opacity
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .addFav {<!-- ww w.ja v a 2s. c om--> background:Chartreuse; border:2px solid yellow; height:201px; width:201px; color:blue; padding:16px; } </style> </head> <body> <div class="addFav"> <div> <img src="https://www.java2s.com/style/demo/InternetExplorer.png"> </div> </div> </body> </html>