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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # declaration-property-unit-blacklist
  2. **_Deprecated: Instead use the [`declaration-property-unit-disallowed-list`](../declaration-property-unit-disallowed-list/README.md) rule._**
  3. Specify a list of disallowed property and unit pairs within declarations.
  4. <!-- prettier-ignore -->
  5. ```css
  6. a { width: 100px; }
  7. /** ↑ ↑
  8. * These properties and these units */
  9. ```
  10. ## Options
  11. `object`: `{ "unprefixed-property-name": ["array", "of", "units"] }`
  12. If a property name is surrounded with `"/"` (e.g. `"/^animation/"`), it is interpreted as a regular expression. This allows, for example, easy targeting of shorthands: `/^animation/` will match `animation`, `animation-duration`, `animation-timing-function`, etc.
  13. Given:
  14. ```
  15. {
  16. "font-size": ["em", "px"],
  17. "/^animation/": ["s"]
  18. }
  19. ```
  20. The following patterns are considered violations:
  21. <!-- prettier-ignore -->
  22. ```css
  23. a { font-size: 1em; }
  24. ```
  25. <!-- prettier-ignore -->
  26. ```css
  27. a { animation: animation-name 5s ease; }
  28. ```
  29. <!-- prettier-ignore -->
  30. ```css
  31. a { -webkit-animation: animation-name 5s ease; }
  32. ```
  33. <!-- prettier-ignore -->
  34. ```css
  35. a { animation-duration: 5s; }
  36. ```
  37. The following patterns are _not_ considered violations:
  38. <!-- prettier-ignore -->
  39. ```css
  40. a { font-size: 1.2rem; }
  41. ```
  42. <!-- prettier-ignore -->
  43. ```css
  44. a { height: 100px; }
  45. ```
  46. <!-- prettier-ignore -->
  47. ```css
  48. a { animation: animation-name 500ms ease; }
  49. ```
  50. <!-- prettier-ignore -->
  51. ```css
  52. a { -webkit-animation: animation-name 500ms ease; }
  53. ```
  54. <!-- prettier-ignore -->
  55. ```css
  56. a { animation-duration: 500ms; }
  57. ```