tailwindcss/src/plugins/float.js

18 lines
386 B
JavaScript
Raw Normal View History

export default function({ variants }) {
return function({ addUtilities }) {
2019-01-11 12:29:33 -05:00
addUtilities(
{
'.float-right': { float: 'right' },
'.float-left': { float: 'left' },
'.float-none': { float: 'none' },
'.clearfix:after': {
content: '""',
display: 'table',
clear: 'both',
},
},
variants
2019-01-11 12:29:33 -05:00
)
2019-01-09 21:21:21 -05:00
}
}