Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # selector-pseudo-element-whitelist
  2. **_Deprecated: Instead use the [`selector-pseudo-element-allowed-list`](../selector-pseudo-element-allowed-list/README.md) rule._**
  3. Specify a list of allowed pseudo-element selectors.
  4. <!-- prettier-ignore -->
  5. ```css
  6. a::before {}
  7. /** ↑
  8. * This pseudo-element selector */
  9. ```
  10. This rule ignores:
  11. - CSS2 pseudo-elements i.e. those prefixed with a single colon
  12. - selectors that use variable interpolation e.g. `::#{$variable} {}`
  13. ## Options
  14. `array|string|regex`: `["array", "of", "unprefixed", "pseudo-elements" or "regex"]|"pseudo-element"|/regex/`
  15. Given:
  16. ```
  17. ["before", "/^my-/i"]
  18. ```
  19. The following patterns are considered violations:
  20. <!-- prettier-ignore -->
  21. ```css
  22. a::after {}
  23. ```
  24. <!-- prettier-ignore -->
  25. ```css
  26. a::not-my-pseudo-element {}
  27. ```
  28. The following patterns are _not_ considered violations:
  29. <!-- prettier-ignore -->
  30. ```css
  31. a::before {}
  32. ```
  33. <!-- prettier-ignore -->
  34. ```css
  35. a::my-pseudo-element {}
  36. ```
  37. <!-- prettier-ignore -->
  38. ```css
  39. a::MY-OTHER-pseudo-element {}
  40. ```