mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
2.4 KiB
2.4 KiB
| extends | title | description | features | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| _layouts.documentation | Floats | Utilities for controlling the wrapping of content around an element. |
|
@include('_partials.work-in-progress')
| Class | Properties | Description |
|---|---|---|
| .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 { content: ""; display: table; clear: both; } |
Clear any floats within an element. |