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 1012B

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