Overwrite all given CSS styles with my CSS selector - HTML CSS CSS

HTML CSS examples for CSS:Selector

Description

Overwrite all given CSS styles with my CSS selector

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <title>Lorem ipsum dolor s</title> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
button {<!--  w w  w  .  j  av  a 2s  .  c om-->
   height:100px;
   width:100px;
   background-color:Chartreuse;
   border:4px solid yellow;
}

.class3 {
   all:initial;
   height:100px;
   width:100px;
   background-color:blue;
}
</style> 
 </head> 
 <body> 
  <button> </button> 
  <div class="wrapper"> 
   <button id="id1" class="class3 class1"> </button> 
  </div>  
 </body>
</html>

Related Tutorials