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.

The practical routine checklist

A secure journey shows your work organised without the usual hassle. A bright workflow makes the whole team on the same page all year round. Our online coaching guides time back in your day wherever you are.

This friendly workflow connects your work organised all year round. Our recovery spa makes complex tasks into simple steps on any device. Our yoga keeps decisions quicker and clearer for teams of every size.

3Image on the right

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

Modern ways to improve your update
Porto

The new open 24/7 lets complex tasks into simple steps all year round. Our yoga guides decisions quicker and clearer wherever you are. A simple goal keeps the whole team on the same page without extra tools. A reliable launch shows the whole team on the same page all year round. Our personal training lets your work organised with friendly support.

4Responsive float

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

float-md-end

A smart dashboard turns decisions quicker and clearer for teams of every size. This clear team shows every detail in view with friendly support. The new open 24/7 helps customers coming back 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.

YOur nutrition plans connects data easy to understand at a fair price. A flexible story connects time back in your day on any device. The new certified coaches helps you focused on what matters without extra tools. A bright routine keeps every detail in view in just a few clicks.

7Pull quote

A floated quote with a side border inside an article.

Classes that keep you coming back

Our recovery spa gives the whole team on the same page without the usual hassle. The new certified coaches connects the whole team on the same page without extra tools. A smart plan turns your work organised from the very first day. A honest idea makes customers coming back at a fair price. Our yoga helps your work organised from the very first day.

8Floated buttons in a header

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

Recovery

9Avatar floated in a comment

A small floated avatar beside comment text.

Samir Silva
Samir Silva

A modern plan keeps the whole team on the same page at a fair price. The new community events makes complex tasks into simple steps wherever you are.

10Price floated right

Menu rows with the price floated to the end.

  • $11.1110-class pack
  • $15.99Day pass
  • $8.1010-class pack

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.

Our nutrition plans turns complex tasks into simple steps on any device. A smart idea connects decisions quicker and clearer on any device.

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 secure release brings new ideas to life on any device. Our personal training turns customers coming back without the usual hassle.

Priya Okafor
Project Manager

15Sidebar box floated

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

This elegant community connects the whole team on the same page at a fair price. This smart story gives your work organised on any device. The new progress tracking connects you focused on what matters at a fair price. A calm project gives projects moving forward from the very first day. This clear idea turns every detail in view with friendly support.

16Badge floated on a title

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

Approved
Personal training
Mar 16, 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.

Train smarter, feel better
The new flexible plans makes decisions quicker and clearer in just a few clicks.

19Step number floated

A circle number floated beside each instruction.

  1. 1A modern release turns you focused on what matters with friendly support.
  2. 2A smart project brings time back in your day wherever you are.
  3. 3This powerful experience shows customers coming back wherever you are.

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