main.css 914 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /* Приоритет третьего порядка для цитаты*/
  2. blockquote {
  3. color: red;
  4. }
  5. a[href^="https"] {
  6. color: red;
  7. }
  8. .list > li:last-child a {
  9. background: green;
  10. }
  11. ul + p {
  12. font-size: 26px;
  13. }
  14. .text-box > h3:first-child {
  15. color: pink;
  16. }
  17. #greycol {
  18. color: gray;
  19. }
  20. div :nth-child(7) {
  21. color: green;
  22. }
  23. .text-box div > p {
  24. color: red;
  25. }
  26. p[class|="yellow"] {
  27. color: yellow;
  28. }
  29. .bg-box {
  30. height: 378px;
  31. width: 669px;
  32. background-color: green;
  33. background-image: url(../img/pole-zelen-trava-dom-derevya.jpeg), url(../img/lamp-png-0.png), url(../img/grass-png-images-pictures-transparent-28.png),
  34. url(../img/hedgehog.png), url(../img/donut-clip-art-4.png);
  35. background-position: center, top, bottom, left, right;
  36. background-size: 50%, 25px, 20%, 25px, 25px;
  37. background-repeat: no-repeat, repeat-x, repeat-x, repeat-y, repeat-y;
  38. }