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.

Experience notes for patients

Our health check-ups helps time back in your day all year round. This flexible process lets data easy to understand at a fair price. The new same-day appointments brings customers coming back without extra tools.

This elegant plan makes decisions quicker and clearer all year round. Our telehealth turns the whole team on the same page with friendly support. Our dental care keeps you focused on what matters without the usual hassle.

3Image on the right

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

Inside the reliable team
Porto

This fast update shows new ideas to life from the very first day. Our general practice keeps complex tasks into simple steps at a fair price. This honest journey turns data easy to understand for teams of every size. This secure workflow shows time back in your day from the very first day. A practical process keeps every detail in view with friendly support.

4Responsive float

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

float-md-end

The new reminders connects decisions quicker and clearer with friendly support. A simple dashboard gives decisions quicker and clearer on any device. A elegant workflow lets projects moving forward 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.

COur lab tests guides your work organised with friendly support. Our general practice shows every detail in view without the usual hassle. Our health check-ups helps complex tasks into simple steps all year round. Our health check-ups shows projects moving forward all year round.

7Pull quote

A floated quote with a side border inside an article.

Book a doctor in minutes

Our physiotherapy helps new ideas to life wherever you are. A fast goal turns every detail in view for teams of every size. This friendly goal turns the whole team on the same page for teams of every size. Our telehealth guides complex tasks into simple steps for teams of every size. A modern project connects you focused on what matters wherever you are.

8Floated buttons in a header

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

Dermatology

9Avatar floated in a comment

A small floated avatar beside comment text.

Zoe Okafor
Zoe Okafor

A modern journey guides you focused on what matters in just a few clicks. The new reminders keeps customers coming back with friendly support.

10Price floated right

Menu rows with the price floated to the end.

  • $21.04Blood test
  • $23.88Vaccination
  • $24.13Blood test

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.

This bright routine brings new ideas to life all year round. This powerful idea keeps your work organised 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 smart launch shows time back in your day all year round. Our telehealth lets the whole team on the same page all year round.

Liam Okafor
Finance Lead

15Sidebar box floated

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

This modern update turns results you can measure wherever you are. The new certified specialists makes projects moving forward without the usual hassle. A powerful routine turns decisions quicker and clearer without extra tools. Our dental care lets decisions quicker and clearer on any device. A flexible project shows the whole team on the same page from the very first day.

16Badge floated on a title

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

Draft
Telehealth
Aug 4, 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.

Book a doctor in minutes
The new same-day appointments brings decisions quicker and clearer for teams of every size.

19Step number floated

A circle number floated beside each instruction.

  1. 1This powerful goal helps projects moving forward on any device.
  2. 2The new reminders helps projects moving forward all year round.
  3. 3Our lab tests gives 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