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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # property-disallowed-list
  2. Specify a list of disallowed properties.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a { text-rendering: optimizeLegibility; }
  6. /** ↑
  7. * This property */
  8. ```
  9. ## Options
  10. `array|string`: `["array", "of", "unprefixed", /properties/ or "regex"]|"property"|"/regex/"`|/regex/
  11. If a string is surrounded with `"/"` (e.g. `"/^background/"`), it is interpreted as a regular expression. This allows, for example, easy targeting of shorthands: `/^background/` will match `background`, `background-size`, `background-color`, etc.
  12. Given:
  13. ```
  14. ["text-rendering", "animation", "/^background/"]
  15. ```
  16. The following patterns are considered violations:
  17. <!-- prettier-ignore -->
  18. ```css
  19. a { text-rendering: optimizeLegibility; }
  20. ```
  21. <!-- prettier-ignore -->
  22. ```css
  23. a {
  24. animation: my-animation 2s;
  25. color: pink;
  26. }
  27. ```
  28. <!-- prettier-ignore -->
  29. ```css
  30. a { -webkit-animation: my-animation 2s; }
  31. ```
  32. <!-- prettier-ignore -->
  33. ```css
  34. a { background: pink; }
  35. ```
  36. <!-- prettier-ignore -->
  37. ```css
  38. a { background-size: cover; }
  39. ```
  40. The following patterns are _not_ considered violations:
  41. <!-- prettier-ignore -->
  42. ```css
  43. a { color: pink; }
  44. ```
  45. <!-- prettier-ignore -->
  46. ```css
  47. a { no-background: sure; }
  48. ```