Tachyons

Docs

/

Layout

/

Floats

Version
<%= moduleVersion %>
Filesize
<%= moduleSize %>
Declarations
<%= moduleObj.declarations.total %>
Selectors
<%= moduleObj.selectors.total %>
Max. Specificity Score
<%= moduleObj.selectors.specificity.max %>
Size of Avg. Rule
<%= moduleObj.rules.size.average %>

There are only three values that can be declared for floats. These three base classes are very easy to memorize and use as often as you want.

Examples

Float Left

Float Left

Float Right

Float Right

Float None

Float None

Float With Images

Originally floats were used to wrap text around images as in the example below.

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

Previous

Spacing

Next

Clearfix

Reference

MDN - Floats
src/_floats.css

<%= srcCSS  %>

<%= navDocs %>
<%= siteFooter %>