forked from tailwindlabs/tailwindcss
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplaceContent.js
More file actions
34 lines (33 loc) · 822 Bytes
/
placeContent.js
File metadata and controls
34 lines (33 loc) · 822 Bytes
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
export default function() {
return function({ addUtilities, variants, target }) {
if (target('placeContent') === 'ie11') {
return
}
addUtilities(
{
'.place-content-center': {
'place-content': 'center',
},
'.place-content-start': {
'place-content': 'start',
},
'.place-content-end': {
'place-content': 'end',
},
'.place-content-between': {
'place-content': 'space-between',
},
'.place-content-around': {
'place-content': 'space-around',
},
'.place-content-evenly': {
'place-content': 'space-evenly',
},
'.place-content-stretch': {
'place-content': 'stretch',
},
},
variants('placeContent')
)
}
}