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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # at-rule-property-requirelist
  2. **_Deprecated: Instead use the [`at-rule-property-required-list`](../at-rule-property-required-list/README.md) rule._**
  3. Specify a list of required properties for an at-rule.
  4. <!-- prettier-ignore -->
  5. ```css
  6. @font-face { font-display: swap; font-family: 'foo'; }
  7. /** ↑ ↑ ↑
  8. * At-rule and required property names */
  9. ```
  10. ## Options
  11. `object`: `{ "at-rule-name": ["array", "of", "properties"] }`
  12. Given:
  13. ```
  14. {
  15. "font-face": ["font-display", "font-family", "font-style"]
  16. }
  17. ```
  18. The following patterns are considered violations:
  19. <!-- prettier-ignore -->
  20. ```css
  21. @font-face {
  22. font-family: 'foo';
  23. src: url('./fonts/foo.woff2') format('woff2');
  24. }
  25. ```
  26. <!-- prettier-ignore -->
  27. ```css
  28. @font-face {
  29. font-family: 'foo';
  30. font-style: normal;
  31. src: url('./fonts/foo.woff2') format('woff2');
  32. }
  33. ```
  34. The following patterns are _not_ considered violations:
  35. <!-- prettier-ignore -->
  36. ```css
  37. @font-face {
  38. font-display: swap;
  39. font-family: 'foo';
  40. font-style: normal;
  41. src: url('./fonts/foo.woff2') format('woff2');
  42. }
  43. ```