property-accessors.css 663 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. .block_1 {
  2. color: red;
  3. background-color: red;
  4. width: 50px;
  5. height: 25px;
  6. border: 1px solid #ff3333;
  7. content: "red";
  8. prop: red;
  9. }
  10. .block_1:hover {
  11. background-color: green;
  12. color: green;
  13. }
  14. .block_1 .one {
  15. background: red;
  16. }
  17. .block_2 {
  18. color: red;
  19. color: blue;
  20. }
  21. .block_2 .two {
  22. background-color: blue;
  23. }
  24. .block_3 {
  25. color: red;
  26. color: yellow;
  27. color: blue;
  28. }
  29. .block_3 .three {
  30. background-color: blue;
  31. }
  32. .block_4 {
  33. color: red;
  34. color: blue;
  35. color: yellow;
  36. }
  37. .block_4 .four {
  38. background-color: yellow;
  39. }
  40. a {
  41. background-color: red, foo;
  42. }
  43. ab {
  44. background: red, foo;
  45. }
  46. .value_as_property {
  47. prop1: color;
  48. color: #FF0000;
  49. }