Skip to content

Commit ee6241a

Browse files
Dan Gayleadamwathan
authored andcommitted
feat(plugin): Add clear-left, clear-right, clear-both classes
Added clear-left, clear-right and clear-both classes to float.js Implements #1050
1 parent dff0834 commit ee6241a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/plugins/float.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ export default function() {
55
'.float-right': { float: 'right' },
66
'.float-left': { float: 'left' },
77
'.float-none': { float: 'none' },
8+
'.clear-left': { clear: 'left' },
9+
'.clear-right': { clear: 'right' },
10+
'.clear-both': { clear: 'both' },
811
'.clearfix:after': {
912
content: '""',
1013
display: 'table',

0 commit comments

Comments
 (0)