tailwindcss/docs/source/docs/floats.blade.md
2017-11-19 16:08:47 -05:00

38 lines
854 B
Markdown

---
extends: _layouts.documentation
title: "Floats"
description: "Utilities for controlling the wrapping of content around an element."
features:
responsive: true
customizable: false
hover: false
focus: false
---
@include('_partials.work-in-progress')
@include('_partials.class-table', [
'rows' => [
[
'.float-right',
'float: right;',
"Moves the element to the right side of its container.",
],
[
'.float-left',
'float: left;',
"Moves the element to the left side of its container.",
],
[
'.float-none',
'float: none;',
"Removes any previously defined float value.",
],
[
'.clearfix',
"&::after {\n  content: \"\";\n  display: table;\n  clear: both;\n}",
"Clear any floats within an element.",
],
]
])