-
Notifications
You must be signed in to change notification settings - Fork 4k
/
display.js
57 lines (57 loc) · 1.23 KB
/
display.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
export default function() {
return function({ addUtilities, variants }) {
addUtilities(
{
'.block': {
display: 'block',
},
'.inline-block': {
display: 'inline-block',
},
'.inline': {
display: 'inline',
},
'.flex': {
display: 'flex',
},
'.inline-flex': {
display: 'inline-flex',
},
'.grid': {
display: 'grid',
},
'.table': {
display: 'table',
},
'.table-caption': {
display: 'table-caption',
},
'.table-cell': {
display: 'table-cell',
},
'.table-column': {
display: 'table-column',
},
'.table-column-group': {
display: 'table-column-group',
},
'.table-footer-group': {
display: 'table-footer-group',
},
'.table-header-group': {
display: 'table-header-group',
},
'.table-row-group': {
display: 'table-row-group',
},
'.table-row': {
display: 'table-row',
},
'.hidden': {
display: 'none',
},
},
variants('display')
)
}
}