mirror of
https://github.com/milligram/milligram.git
synced 2024-12-02 04:04:21 +00:00
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
|