# Float

Pushes an element left or right with text wrapping around it.

## What does `float` do?

`float` pushes an element to the left or right and lets text wrap around it, like a photo in a magazine article.

```css
.article img { float: right; margin: 0 0 12px 12px; }
```

Level: Apprentice · [More CSS terms at this level](https://www.ask-codey.com/glossary/subjects/css/apprentice)

Updated: September 27, 2026

## In other subjects

- [Float in General](https://www.ask-codey.com/glossary/floats)

Source: https://www.ask-codey.com/glossary/float
