mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
25 lines
506 B
JavaScript
25 lines
506 B
JavaScript
export default function() {
|
|
return function({ addUtilities, variants }) {
|
|
addUtilities(
|
|
{
|
|
'.self-auto': {
|
|
'align-self': 'auto',
|
|
},
|
|
'.self-start': {
|
|
'align-self': 'flex-start',
|
|
},
|
|
'.self-end': {
|
|
'align-self': 'flex-end',
|
|
},
|
|
'.self-center': {
|
|
'align-self': 'center',
|
|
},
|
|
'.self-stretch': {
|
|
'align-self': 'stretch',
|
|
},
|
|
},
|
|
variants('alignSelf')
|
|
)
|
|
}
|
|
}
|