mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
28 lines
540 B
JavaScript
28 lines
540 B
JavaScript
export default function () {
|
|
return function ({ addUtilities, config }) {
|
|
addUtilities({
|
|
'.block': {
|
|
display: 'block',
|
|
},
|
|
'.inline-block': {
|
|
display: 'inline-block',
|
|
},
|
|
'.inline': {
|
|
display: 'inline',
|
|
},
|
|
'.table': {
|
|
display: 'table',
|
|
},
|
|
'.table-row': {
|
|
display: 'table-row',
|
|
},
|
|
'.table-cell': {
|
|
display: 'table-cell',
|
|
},
|
|
'.hidden': {
|
|
display: 'none',
|
|
},
|
|
}, config('modules.display'))
|
|
}
|
|
}
|