aboutsummaryrefslogtreecommitdiff
path: root/stylesheets/library/_float.sass
blob: 1bb6ea3fa838210bb81cccfa1be6a35925c2230b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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")