19 lines
409 B
Sass
19 lines
409 B
Sass
|
||
// Utility
|
||
// ––––––––––––––––––––––––––––––––––––––––––––––––––
|
||
|
||
// Clear a float with .clearfix
|
||
.clearfix
|
||
|
||
&:after
|
||
clear: both
|
||
content: ' ' // The space content is one way to avoid an Opera bug.
|
||
display: table
|
||
|
||
// Float either direction
|
||
.float-left
|
||
float: left
|
||
|
||
.float-right
|
||
float: right
|