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.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. # media-feature-name-whitelist
  2. **_Deprecated: Instead use the [`media-feature-name-allowed-list`](../media-feature-name-allowed-list/README.md) rule._**
  3. Specify a list of allowed media feature names.
  4. <!-- prettier-ignore -->
  5. ```css
  6. @media (min-width: 700px) {}
  7. /** ↑
  8. * This media feature name */
  9. ```
  10. ## Options
  11. `array|string|regex`: `["array", "of", "unprefixed", /media-features/ or "regex"]|"media-feature"|/regex/`
  12. Given:
  13. ```
  14. ["max-width", "/^my-/"]
  15. ```
  16. The following patterns are considered violations:
  17. <!-- prettier-ignore -->
  18. ```css
  19. @media (min-width: 50em) {}
  20. ```
  21. <!-- prettier-ignore -->
  22. ```css
  23. @media print and (min-resolution: 300dpi) {}
  24. ```
  25. <!-- prettier-ignore -->
  26. ```css
  27. @media (min-width < 50em) {}
  28. ```
  29. <!-- prettier-ignore -->
  30. ```css
  31. @media (10em < min-width < 50em) {}
  32. ```
  33. The following patterns are _not_ considered violations:
  34. <!-- prettier-ignore -->
  35. ```css
  36. @media (max-width: 50em) {}
  37. ```
  38. <!-- prettier-ignore -->
  39. ```css
  40. @media (my-width: 50em) {}
  41. ```
  42. <!-- prettier-ignore -->
  43. ```css
  44. @media (max-width > 50em) {}
  45. ```
  46. <!-- prettier-ignore -->
  47. ```css
  48. @media (10em < my-width < 50em) {}
  49. ```