update the docs for compass/utilities/general/float
This commit is contained in:
parent
e181ad6a05
commit
4de1645c95
@ -11,5 +11,7 @@ classnames:
|
|||||||
- utilities
|
- utilities
|
||||||
---
|
---
|
||||||
- render 'reference' do
|
- render 'reference' do
|
||||||
%p
|
:markdown
|
||||||
Lorem ipsum dolor sit amet.
|
This module provides mixins that help you work around the
|
||||||
|
[double-margin bug in IE5/6][dmb].
|
||||||
|
[dmb]: http://www.positioniseverything.net/explorer/doubled-margin.html
|
||||||
|
@ -1,17 +1,15 @@
|
|||||||
//**\\
|
// Implementation of float:left with fix for the
|
||||||
// Float
|
// [double-margin bug in IE5/6](http://www.positioniseverything.net/explorer/doubled-margin.html)
|
||||||
|
|
||||||
@import "clearfix";
|
|
||||||
|
|
||||||
// Implementation of float:left with fix for double-margin bug
|
|
||||||
@mixin float-left {
|
@mixin float-left {
|
||||||
@include float(left); }
|
@include float(left); }
|
||||||
|
|
||||||
// Implementation of float:right with fix for double-margin bug
|
// Implementation of float:right with fix for the
|
||||||
|
// [double-margin bug in IE5/6](http://www.positioniseverything.net/explorer/doubled-margin.html)
|
||||||
@mixin float-right {
|
@mixin float-right {
|
||||||
@include float(right); }
|
@include float(right); }
|
||||||
|
|
||||||
// Available as alternate syntax with just +float
|
// Direction independent float mixin that fixes the
|
||||||
|
// [double-margin bug in IE5/6](http://www.positioniseverything.net/explorer/doubled-margin.html)
|
||||||
@mixin float($side: left) {
|
@mixin float($side: left) {
|
||||||
display: inline;
|
display: inline;
|
||||||
float: $side; }
|
float: $side; }
|
||||||
|
Loading…
Reference in New Issue
Block a user