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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. # time-min-milliseconds
  2. Specify the minimum number of milliseconds for time values.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a { animation: slip-n-slide 150ms linear; }
  6. /** ↑
  7. * This time */
  8. ```
  9. This rule checks positive numbers in `transition-duration`, `transition-delay`, `animation-duration`, `animation-delay`, and those times as they manifest in the `transition` and `animation` shorthands.
  10. ## Options
  11. `int`: Minimum number of milliseconds for time values.
  12. For example, with `100`:
  13. The following patterns are considered violations:
  14. <!-- prettier-ignore -->
  15. ```css
  16. a { animation: 80ms; }
  17. ```
  18. <!-- prettier-ignore -->
  19. ```css
  20. a { transition-duration: 0.08s; }
  21. ```
  22. <!-- prettier-ignore -->
  23. ```css
  24. a { transition: background-color 6ms linear; }
  25. ```
  26. <!-- prettier-ignore -->
  27. ```css
  28. a { animation-delay: 0.01s; }
  29. ```
  30. The following patterns are _not_ considered violations:
  31. <!-- prettier-ignore -->
  32. ```css
  33. a { animation: 8s; }
  34. ```
  35. <!-- prettier-ignore -->
  36. ```css
  37. a { transition-duration: 0.8s; }
  38. ```
  39. <!-- prettier-ignore -->
  40. ```css
  41. a { transition: background-color 600ms linear; }
  42. ```
  43. <!-- prettier-ignore -->
  44. ```css
  45. a { animation-delay: 1s; }
  46. ```
  47. ## Optional secondary options
  48. ### `ignore: ["delay"]`
  49. Ignore time values for an animation or transition delay.
  50. For example, with a minimum of `200` milliseconds.
  51. The following is _not_ considered a violation:
  52. <!-- prettier-ignore -->
  53. ```css
  54. a { animation-delay: 100ms; }
  55. ```