mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
38 lines
854 B
Markdown
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.",
|
|
],
|
|
]
|
|
])
|