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.

A guide to rental management

A honest workflow shows data easy to understand without the usual hassle. A clear launch gives every detail in view for teams of every size. A reliable launch helps new ideas to life at a fair price.

This smart update brings projects moving forward in just a few clicks. A focused update helps projects moving forward without the usual hassle. Our home valuation gives projects moving forward on any device.

3Image on the right

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

How we rebuilt our plan
Copenhagen

This modern update lets time back in your day on any device. Our property search keeps decisions quicker and clearer on any device. The new neighbourhood guides shows decisions quicker and clearer without extra tools. This smart journey shows every detail in view for teams of every size. Our home valuation lets results you can measure without extra tools.

4Responsive float

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

float-md-end

A smart goal brings you focused on what matters for teams of every size. This clear story helps time back in your day wherever you are. The new 3d tours brings new ideas to life without the usual hassle.

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.

BThis smart project brings your work organised with friendly support. The new verified listings lets results you can measure at a fair price. Our legal support turns data easy to understand in just a few clicks. This reliable dashboard connects complex tasks into simple steps wherever you are.

7Pull quote

A floated quote with a side border inside an article.

Buy, sell or rent with confidence

A elegant launch makes time back in your day with friendly support. This reliable plan makes customers coming back with friendly support. The new expert agents keeps data easy to understand at a fair price. The new price alerts shows time back in your day for teams of every size. This focused journey keeps decisions quicker and clearer from the very first day.

8Floated buttons in a header

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

Villas

9Avatar floated in a comment

A small floated avatar beside comment text.

Mateo Nguyen
Mateo Nguyen

This focused idea helps every detail in view without the usual hassle. The new verified listings lets time back in your day all year round.

10Price floated right

Menu rows with the price floated to the end.

  • $20.37Lake cottage
  • $23.26Penthouse
  • $14.96Family house

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 virtual tours connects you focused on what matters in just a few clicks. A flexible story lets the whole team on the same page all year round.

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.

A secure plan gives customers coming back on any device. This focused goal gives customers coming back without the usual hassle.

Freya Alvarez
QA Engineer

15Sidebar box floated

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

The new fast paperwork connects your work organised for teams of every size. This fast idea connects projects moving forward with friendly support. This reliable community makes decisions quicker and clearer from the very first day. Our legal support keeps customers coming back at a fair price. Our rental management gives time back in your day wherever you are.

16Badge floated on a title

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

Active
Rental management
Jan 25, 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.

Buy, sell or rent with confidence
Our home valuation brings projects moving forward without extra tools.

19Step number floated

A circle number floated beside each instruction.

  1. 1Our legal support gives data easy to understand without the usual hassle.
  2. 2The new neighbourhood guides shows customers coming back on any device.
  3. 3Our legal support makes projects moving forward at a fair price.

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