mirror of
https://github.com/milligram/milligram.git
synced 2024-12-02 04:04:21 +00:00
23 lines
431 B
Sass
23 lines
431 B
Sass
|
||
// Utility
|
||
// ––––––––––––––––––––––––––––––––––––––––––––––––––
|
||
|
||
// Clear a float with .clearfix
|
||
.clearfix
|
||
*zoom: 1
|
||
|
||
&:after
|
||
clear: both
|
||
|
||
&:after,
|
||
&:before
|
||
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
|