.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / time-min-milliseconds / README.md
1 # time-min-milliseconds
2
3 Specify the minimum number of milliseconds for time values.
4
5 ```css
6 a { animation: slip-n-slide 150ms linear; }
7 /**                         ↑
8  *                  This time */
9 ```
10
11 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.
12
13 ## Options
14
15 `int`: Minimum number of milliseconds for time values.
16
17 For example, with `100`:
18
19 The following patterns are considered violations:
20
21 ```css
22 a { animation: 80ms; }
23 ```
24
25 ```css
26 a { transition-duration: 0.08s; }
27 ```
28
29 ```css
30 a { transition: background-color 6ms linear; }
31 ```
32
33 ```css
34 a { animation-delay: 0.01s; }
35 ```
36
37 The following patterns are *not* considered violations:
38
39 ```css
40 a { animation: 8s; }
41 ```
42
43 ```css
44 a { transition-duration: 0.8s; }
45 ```
46
47 ```css
48 a { transition: background-color 600ms linear; }
49 ```
50
51 ```css
52 a { animation-delay: 1s; }
53 ```