milligram/src/_Utility.sass

19 lines
400 B
Sass
Raw Normal View History

2015-12-26 01:58:56 +00:00
// Utility
//
// Clear a float with .clearfix
.clearfix
&:after
clear: both
content: ' ' // The space content is one way to avoid an Opera bug.
2015-12-26 01:58:56 +00:00
display: table
// Float either direction
.float-left
float: left
.float-right
float: right