milligram/src/_Utility.sass

23 lines
375 B
Sass
Raw Normal View History

2015-12-26 01:58:56 +00:00
// Utility
//
// Float either direction
.float-right
float: right
.float-left
float: left
// Clear a float with .clearfix
.clearfix
*zoom: 1
&:after,
&:before
content: ''
display: table
&:after
clear: both