2009-10-18 21:10:45 -04:00
|
|
|
// based on compass float
|
|
|
|
|
|
|
|
@import modules/_clearfix.sass
|
|
|
|
|
|
|
|
// Available as alternate syntax with just +float
|
2010-07-26 11:55:53 -04:00
|
|
|
=float($side: "left")
|
|
|
|
display: inline
|
|
|
|
float: !side
|
2009-10-18 21:10:45 -04:00
|
|
|
|
|
|
|
// 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")
|