attributes.css 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. * {
  2. color: blue;
  3. }
  4. E {
  5. color: blue;
  6. }
  7. E[foo] {
  8. color: blue;
  9. }
  10. [foo] {
  11. color: blue;
  12. }
  13. [foo] .helloWorld {
  14. color: blue;
  15. }
  16. [foo].helloWorld {
  17. color: blue;
  18. }
  19. E[foo="barbar"] {
  20. color: blue;
  21. }
  22. E[foo~="hello#$@%@$#^"] {
  23. color: blue;
  24. }
  25. E[foo^="color: green;"] {
  26. color: blue;
  27. }
  28. E[foo$="239023"] {
  29. color: blue;
  30. }
  31. E[foo*="29302"] {
  32. color: blue;
  33. }
  34. E[foo|="239032"] {
  35. color: blue;
  36. }
  37. E:root {
  38. color: blue;
  39. }
  40. E:nth-child(odd) {
  41. color: blue;
  42. }
  43. E:nth-child(2n+1) {
  44. color: blue;
  45. }
  46. E:nth-child(5) {
  47. color: blue;
  48. }
  49. E:nth-last-child(-n+2) {
  50. color: blue;
  51. }
  52. E:nth-of-type(2n) {
  53. color: blue;
  54. }
  55. E:nth-last-of-type(n) {
  56. color: blue;
  57. }
  58. E:first-child {
  59. color: blue;
  60. }
  61. E:last-child {
  62. color: blue;
  63. }
  64. E:first-of-type {
  65. color: blue;
  66. }
  67. E:last-of-type {
  68. color: blue;
  69. }
  70. E:only-child {
  71. color: blue;
  72. }
  73. E:only-of-type {
  74. color: blue;
  75. }
  76. E:empty {
  77. color: blue;
  78. }
  79. E:lang(en) {
  80. color: blue;
  81. }
  82. E::first-line {
  83. color: blue;
  84. }
  85. E::before {
  86. color: blue;
  87. }
  88. E#id {
  89. color: blue;
  90. }
  91. E:not(:link) {
  92. color: blue;
  93. }
  94. E F {
  95. color: blue;
  96. }
  97. E > F {
  98. color: blue;
  99. }
  100. E + F {
  101. color: blue;
  102. }
  103. E ~ F {
  104. color: blue;
  105. }