mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
22 lines
469 B
JavaScript
22 lines
469 B
JavaScript
export default function() {
|
|
return function({ addUtilities, variants }) {
|
|
addUtilities(
|
|
{
|
|
'.flex-row': {
|
|
'flex-direction': 'row',
|
|
},
|
|
'.flex-row-reverse': {
|
|
'flex-direction': 'row-reverse',
|
|
},
|
|
'.flex-col': {
|
|
'flex-direction': 'column',
|
|
},
|
|
'.flex-col-reverse': {
|
|
'flex-direction': 'column-reverse',
|
|
},
|
|
},
|
|
variants('flexDirection')
|
|
)
|
|
}
|
|
}
|