HTML CSS examples for CSS:Introduction
overwrite a CSS rule
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #test {<!--from w w w. j a v a 2 s . c o m--> background:url('https://www.java2s.com/style/demo/Google-Chrome.png'); height:51px; width:51px; } #test { overflow:hidden; position:relative; background:none; } </style> </head> <body> <div id="test"> </div> </body> </html>