daily pastebin goal
77%
SHARE
TWEET

Untitled

a guest Oct 11th, 2018 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. body
  2. {
  3.     font-size: 24px
  4. }
  5.  
  6. #myid
  7. {
  8.     color: red;
  9. }
  10.  
  11. .myclass
  12. {
  13.     color: green /* применился ко всем */
  14. }
  15.  
  16. #myid2.myclass
  17. {
  18.     font-weight: bold;
  19. }
  20.  
  21. .myclass.mysuperclass
  22. {
  23.     text-decoration: underline;
  24. }
  25.  
  26. #myid3.myclass.mysuperclass
  27. {
  28.     font-style: italic;
  29. }
  30.  
  31. /* 2 id невалидно */
  32. #myid4#mysuperid.myclass.mysuperclass
  33. {
  34.     background: yellow;
  35. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top