Advertisement
Guest User

Untitled

a guest
May 30th, 2015
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1.  
  2.  
  3. <div class="section section--info">
  4. <h2 class="section__header"></h2>
  5. </div>
  6.  
  7. AND
  8.  
  9. .section {
  10. display: block;
  11. }
  12. .section__header {
  13. font-size: 12em;
  14. }
  15. .section--info {
  16. background: color: purple;
  17. }
  18.  
  19. or
  20.  
  21. <div class="section section--info">
  22. <h2 class="section__header section__header--info"></h2>
  23. </div>
  24.  
  25. .section {
  26. display: block;
  27. }
  28. .section__header {
  29. font-size: 12em;
  30. }
  31. .section--info {
  32. background: color: purple;
  33. }
  34. .section__header--info {
  35. color: red;
  36. }
  37.  
  38. Does every MODIFIER need to exist for each ELEMENT inside of the BLOCK?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement