From f7700443ece4537c252b10a7463d12fd1725f40a Mon Sep 17 00:00:00 2001 From: B Mathis Date: Thu, 5 Nov 2009 21:34:41 -0600 Subject: moved stylesheets --- stylesheets/library/_float.sass | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 stylesheets/library/_float.sass (limited to 'stylesheets/library/_float.sass') 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 -- cgit v1.2.1