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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. # media-feature-colon-space-after
  2. Require a single space or disallow whitespace after the colon in media features.
  3. <!-- prettier-ignore -->
  4. ```css
  5. @media (max-width: 600px) {}
  6. /** ↑
  7. * The space after this colon */
  8. ```
  9. The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
  10. ## Options
  11. `string`: `"always"|"never"`
  12. ### `"always"`
  13. There _must always_ be a single space after the colon.
  14. The following patterns are considered violations:
  15. <!-- prettier-ignore -->
  16. ```css
  17. @media (max-width:600px) {}
  18. ```
  19. <!-- prettier-ignore -->
  20. ```css
  21. @media (max-width :600px) {}
  22. ```
  23. The following patterns are _not_ considered violations:
  24. <!-- prettier-ignore -->
  25. ```css
  26. @media (max-width: 600px) {}
  27. ```
  28. <!-- prettier-ignore -->
  29. ```css
  30. @media (max-width : 600px) {}
  31. ```
  32. ### `"never"`
  33. There _must never_ be whitespace after the colon.
  34. The following patterns are considered violations:
  35. <!-- prettier-ignore -->
  36. ```css
  37. @media (max-width: 600px) {}
  38. ```
  39. <!-- prettier-ignore -->
  40. ```css
  41. @media (max-width : 600px) {}
  42. ```
  43. The following patterns are _not_ considered violations:
  44. <!-- prettier-ignore -->
  45. ```css
  46. @media (max-width:600px) {}
  47. ```
  48. <!-- prettier-ignore -->
  49. ```css
  50. @media (max-width :600px) {}
  51. ```