Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
Update Base/Block documentation [#125]
Browse files Browse the repository at this point in the history
  • Loading branch information
ebollens committed Oct 16, 2012
1 parent ab8b2e6 commit 8928583
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions doc/modules/base/Block.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ positioned later in the DOM will be flowed below all of the contained elements.

* `.float-left` applies a left float to a block
* `.float-right` applies a right float to a block
* `.float-clear` applies a clear on both right and left floats, meaning that this block will appear below floated elements above it in the DOM
* `.float-container` is a utility to wrap floated elements so that elements positioned later in the DOM will be flowed below all of the contained elements.
* `.clearfix` is an advanced version of `.float-container` that ensures containment even in scenarios where `overflow:auto` is ineffective
* `.float-clear` applies a clear on both right and left floats, meaning that
this block will appear below floated elements above it in the DOM
* `.float-container` is a utility to wrap floated elements so that elements
positioned later in the DOM will be flowed below all of the contained elements.
* `.clearfix` is an advanced version of `.float-container` that ensures
containment in scenarios where `overflow:auto` is ineffective

The `.float-container` class is preferred for most float containment scenarios.
However, there are a couple conditions where `.clearfix` is required:
Expand Down

0 comments on commit 8928583

Please sign in to comment.