mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-11-11 11:45:05 -05:00
16 lines
354 B
Sass
16 lines
354 B
Sass
|
// based on compass float
|
||
|
|
||
|
@import modules/_clearfix.sass
|
||
|
|
||
|
// Available as alternate syntax with just +float
|
||
|
=float(!side = "left")
|
||
|
:display inline
|
||
|
:float= !side
|
||
|
|
||
|
// Implementation of float:left with fix for double-margin bug
|
||
|
=float-left
|
||
|
+float("left")
|
||
|
|
||
|
// Implementation of float:right with fix for double-margin bug
|
||
|
=float-right
|
||
|
+float("right")
|