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