diff options
Diffstat (limited to 'stylesheets/library/_float.sass')
-rw-r--r-- | stylesheets/library/_float.sass | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/stylesheets/library/_float.sass b/stylesheets/library/_float.sass new file mode 100644 index 00000000..b459e81f --- /dev/null +++ b/stylesheets/library/_float.sass @@ -0,0 +1,16 @@ +// 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")
\ No newline at end of file |