attributes.less 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. * { color: blue; }
  2. E { color: blue; }
  3. E[foo] { color: blue; }
  4. [foo] { color: blue; }
  5. [foo] .helloWorld { color: blue; }
  6. [foo].helloWorld { color: blue; }
  7. E[foo="barbar"] { color: blue; }
  8. E[foo~="hello#$@%@$#^"] { color: blue; }
  9. E[foo^="color: green;"] { color: blue; }
  10. E[foo$="239023"] { color: blue; }
  11. E[foo*="29302"] { color: blue; }
  12. E[foo|="239032"] { color: blue; }
  13. E:root { color: blue; }
  14. E:nth-child(odd) { color: blue; }
  15. E:nth-child(2n+1) { color: blue; }
  16. E:nth-child(5) { color: blue; }
  17. E:nth-last-child(-n+2) { color: blue; }
  18. E:nth-of-type(2n) { color: blue; }
  19. E:nth-last-of-type(n) { color: blue; }
  20. E:first-child { color: blue; }
  21. E:last-child { color: blue; }
  22. E:first-of-type { color: blue; }
  23. E:last-of-type { color: blue; }
  24. E:only-child { color: blue; }
  25. E:only-of-type { color: blue; }
  26. E:empty { color: blue; }
  27. E:lang(en) { color: blue; }
  28. E::first-line { color: blue; }
  29. E::before { color: blue; }
  30. E#id { color: blue; }
  31. E:not(:link) { color: blue; }
  32. E F { color: blue; }
  33. E > F { color: blue; }
  34. E + F { color: blue; }
  35. E ~ F { color: blue; }