mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
31 lines
751 B
JavaScript
31 lines
751 B
JavaScript
export default function () {
|
|
return function ({ addUtilities, variants }) {
|
|
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')
|
|
)
|
|
}
|
|
}
|