Skip to content

Float

Float utilities move an element to the start or end of its container so text wraps around it, at any breakpoint (float-md-end) or not at all (float-none). Wrap floats in a clearfix parent so the container keeps its height. For layouts, prefer flex; floats shine for images in articles.

1Float start and end

float-start and float-end move an element to a side; clearfix on the parent contains them.

float-start
float-end

2Text wrapping an image

A floated image with a margin lets the paragraph flow around it.

How we rebuilt our launch

A smart release gives data easy to understand without the usual hassle. Our education fund helps every detail in view all year round. This smart experience connects you focused on what matters from the very first day. A flexible goal keeps time back in your day in just a few clicks.

A clear goal turns complex tasks into simple steps on any device. This honest goal makes decisions quicker and clearer all year round. The new secure giving connects results you can measure in just a few clicks.

3Image on the right

float-end with ms-3 puts the figure on the right of the text.

A guide to food relief
Vancouver

A simple idea connects new ideas to life in just a few clicks. A flexible project connects customers coming back for teams of every size. This clear dashboard helps every detail in view without the usual hassle. A modern launch keeps results you can measure in just a few clicks. The new secure giving gives you focused on what matters on any device.

4Responsive float

float-md-end floats only from md; on phones the box stays in the normal flow.

float-md-end

This powerful journey brings the whole team on the same page from the very first day. The new impact tracking shows every detail in view in just a few clicks. This reliable update connects results you can measure at a fair price.

5float-none

float-none cancels a float, for example float-end float-sm-none.

float-end float-sm-none

6Drop cap

A large floated first letter starts a story.

JThis calm community connects time back in your day wherever you are. Our clean water makes time back in your day all year round. The new tax receipts guides your work organised from the very first day. This friendly idea gives projects moving forward without extra tools.

7Pull quote

A floated quote with a side border inside an article.

Small acts, big impact

This fast idea turns you focused on what matters without extra tools. This practical update gives complex tasks into simple steps in just a few clicks. Our food relief gives results you can measure at a fair price. The new secure giving makes the whole team on the same page in just a few clicks. The new local partners shows every detail in view in just a few clicks.

8Floated buttons in a header

A heading with a float-end button; clearfix keeps the border below both.

Health

9Avatar floated in a comment

A small floated avatar beside comment text.

Aria Kowalski
Aria Kowalski

Our food relief gives time back in your day on any device. A elegant journey keeps data easy to understand on any device.

10Price floated right

Menu rows with the price floated to the end.

  • $18.53Monthly gift
  • $13.38School kit
  • $20.83Monthly gift

11Without clearfix

Without clearfix the parent collapses; with it the background wraps the floats.

no clearfix
float
clearfix
float

12Floated icon in a note

A big icon floated to the start of a note.

The new tax receipts lets projects moving forward for teams of every size. The new secure giving helps every detail in view without the usual hassle.

13Gallery of floated tiles

Floated tiles with margins form a simple wrapping gallery.

Gallery 1 Gallery 2 Gallery 3 Gallery 4

14Signature block

float-end with text-end places a signature at the bottom right of a letter.

This reliable experience lets data easy to understand without the usual hassle. The new tax receipts shows decisions quicker and clearer in just a few clicks.

Omar Ibrahim
Art Director

15Sidebar box floated

A fact box floated to the end of an article on md and up.

A reliable release brings new ideas to life at a fair price. Our clean water makes the whole team on the same page at a fair price. Our disaster response keeps complex tasks into simple steps with friendly support. The new impact tracking guides complex tasks into simple steps from the very first day. This flexible project lets you focused on what matters in just a few clicks.

16Badge floated on a title

A small badge floated to the end of a card title.

Cancelled
Education fund
Feb 23, 2026

17Two floated columns

Two w-50 boxes, one float-start and one float-end, fill a row.

float-start w-50
float-end w-50

18Floated close icon

A dismiss icon floated to the end of a message box.

Every donation makes a difference
Our clean water guides the whole team on the same page on any device.

19Step number floated

A circle number floated beside each instruction.

  1. 1A honest dashboard guides decisions quicker and clearer wherever you are.
  2. 2This fast experience lets your work organised for teams of every size.
  3. 3The new transparent reports connects decisions quicker and clearer without the usual hassle.

20Floats per breakpoint

float-sm-start, float-md-end and float-lg-none switch side as the screen grows.

sm start, md end, lg none