Advertisement
whoisYeshua

Vizualization- css specificity

Jan 8th, 2023 (edited)
821
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.20 KB | Source Code | 0 0
  1. <style>
  2.   main > button.btn {
  3.     background-color: orange;
  4.   }
  5.  
  6.   .btn.btn-primary {
  7.     background-color: violet;
  8.   }
  9. </style>
  10.  
  11. <main>
  12.   <button class="btn btn-primary">Click</button>
  13. </main>
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement