tailwindcss/src/plugins/float.js

18 lines
398 B
JavaScript
Raw Normal View History

2019-02-28 11:58:21 -05:00
export default function() {
return function({ addUtilities, config }) {
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',
},
},
2019-02-28 11:58:21 -05:00
config('variants.float')
2019-01-11 12:29:33 -05:00
)
2019-01-09 21:21:21 -05:00
}
}