Typography

Headings

h1. Bootstrap heading

h2. Bootstrap heading

h3. Bootstrap heading

h4. Bootstrap heading

h5. Bootstrap heading
h6. Bootstrap heading

Lead

Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.

Styles

You can use the mark tag to highlight text.

This line of text is meant to be treated as deleted text.

This line of text is meant to be treated as no longer accurate.

This line of text is meant to be treated as an addition to the document.

This line of text will render as underlined

This line of text is meant to be treated as fine print.

This line rendered as bold text.

This line rendered as italicized text.

And this is a muted text.

abbr abbr+init

Colors

.text-bg-primary .text-bg-secondary .text-bg-success .text-bg-info .text-bg-warning .text-bg-danger .text-bg-light .text-bg-dark

Primary link Secondary link Success link Info link Warning link Danger link Light link Dark link

Inline code

For example, <section> should be wrapped as inline.

y = mx + b

To switch directories, type cd followed by the name of the directory.
To edit settings, press ctrl + ,

This text is meant to be treated as sample output from a computer program.

Displays

Display 1

Display 2

Display 3

Display 4

Sample body

Lórum ipse - mint senyért - nyált ságos iség, ahol beles metás, csaprozás, vermény, csaprát és más meni zsorlóca kuncáskodik. Mosztag, férzet napé, fuvódás 11, törnyélés ; valamint szuvegés vitancs: a dozmus drikója, jultsás kelés magyarul. A szuvegés és gyarány pasztákban buggyos mendernyékről, filingéjükről és pucájukról húzódik a fabampa. Hűtő benne a legújabban belég mendernyék mártja is, részletesen sáskodik a kétenc fríg lepkonyaival. Csétletésről cigál le egy kéző lengelész csapárába rimulnia, ahol három másik szivény együtt érleti spotráit. Ha a bénulás summája kalkodik, úgy púdulhat, mintha az volna a sülső csoltása, hogy a szedhentes és egyes tengyelét lécetse ki a pávágyokból. Ez vajon vertető ölyök vagy vegítő dosna? Szalalizál bunya a felegesben olyan szellőző kedő, amely farisban kevetteti a nyagondos hizmusok „énemlő” lárias mizmusait?

Code block

/**
 * @author John Smith <john.smith@example.com>
 */
package l2f.gameserver.model;

public abstract class L2Char extends L2Object {
  public static final Short ERROR = 0x0001;

  public void moveTo(int x, int y, int z) {
    _ai = null;
    log("Should not be called");
    if (1 > 5) {
      return;
    }
  }
}

Blockquote

A well-known quote, contained in a blockquote element.

...centered

A well-known quote, contained in a blockquote element.

...on right

A well-known quote, contained in a blockquote element.

List

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit
  • Integer molestie lorem at massa
  • Facilisis in pretium nisl aliquet
  • Nulla volutpat aliquam velit
    • Phasellus iaculis neque
    • Purus sodales ultricies
    • Vestibulum laoreet porttitor sem
    • Ac tristique libero volutpat at
  • Faucibus porta lacus fringilla vel
  • Aenean sit amet erat nunc
  • Eget porttitor lorem

...unstyled

  • This is a list.
  • It appears completely unstyled.
  • Structurally, it's still a list.
  • However, this style only applies to immediate child elements.
  • Nested lists:
    • are unaffected by this style
    • will still show a bullet
    • and have appropriate left margin
  • This may still come in handy in some situations.

...inline

  • This is a list item.
  • And another one.
  • But they're displayed inline.

Definition list

Description lists
A description list is perfect for defining terms.
Term

Definition for the term.

And some more placeholder definition text.

Another term
This definition is short, so no extra paragraphs or anything.
Truncated term is truncated
This can be useful when space is tight. Adds an ellipsis at the end.
Nesting
Nested definition list
I heard you like definition lists. Let me put a definition list inside your definition list.

Background colors

.text-bg-primary
.text-bg-secondary
.text-bg-success
.text-bg-info
.text-bg-warning
.text-bg-danger
.text-bg-light
.text-bg-dark

Images

Responsive image

responsive image

Thumbnail

thumbnail image

Figure

Figure
A caption for the above image.

Media

In v5 the .media component was dropped as it can be easily replicated with utilities. See #28265 and the flex utilities page for an example.

Generic placeholder image
Media heading
This is some content from a media component. You can replace this with any content and adjust it as needed.
Generic placeholder image
Media heading
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.

Tables

Table

# First Name Last Name Username
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter
Footer Footer Footer Footer

Inversed table

# First Name Last Name Username
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter
Footer Footer Footer Footer

Table with colors

Note: Use table-* classes.

Type Column heading Column heading
Default Column content Column content
Active Column content Column content
Primary Column content Column content
Secondary Column content Column content
Success Column content Column content
Info Column content Column content
Warning Column content Column content
Danger Column content Column content
Light Column content Column content
Dark Column content Column content

Inversed table with colors

Note: Use table-* classes, also for colors.

Type Column heading Column heading
Default Column content Column content
Primary Column content Column content
Secondary Column content Column content
Success Column content Column content
Info Column content Column content
Warning Column content Column content
Danger Column content Column content
Light Column content Column content
Dark Column content Column content

Default header

# First Name Last Name Username
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter
Footer Footer Footer Footer

Inversed header

# First Name Last Name Username
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter
Footer Footer Footer Footer

Small table

# First Name Last Name Username
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter
Footer Footer Footer Footer

List groups

...with actions and colors

...with custom content

Buttons

General buttons

Outline buttons

Sizes

Groups and dropdown

Pagination

Offcanvas

Offcanvas is a sidebar component that can be toggled via JavaScript to appear from the left, right, top, or bottom edge of the viewport. Buttons or anchors are used as triggers that are attached to specific elements you toggle, and data attributes are used to invoke our JavaScript.

Backdrop with scrolling

Try scrolling the rest of the page to see this option in action.

Jumbotrons

Custom jumbotron

Using a series of utilities, you can create this jumbotron, just like the one in previous versions of Bootstrap. Check out the examples below for how you can remix and restyle it to your liking.

Change the background

Swap the background-color utility and add a `.text-*` color utility to mix up the jumbotron look. Then, mix and match with additional component themes and more.

Add borders

Or, keep it light and add a border for some added definition to the boundaries of your content. Be sure to look under the hood at the source HTML here as we've adjusted the alignment and sizing of both column's content for equal-height.

Cards

Various types of cards

This is some text within a card block.
  • Cras justo odio
  • Dapibus ac facilisis in
  • Vestibulum at eros

Card title

Card subtitle

Some quick example text to build on the card title and make up the bulk of the card's content.

Card link Another link

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

Someone famous in Source Title
Featured

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
Featured

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
Card image
Card image cap

Some quick example text to build on the card title and make up the bulk of the card's content.

Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Last updated 3 mins ago

Card image cap
Card image cap

Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

  • Cras justo odio
  • Dapibus ac facilisis in
  • Vestibulum at eros

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere

Colored cards

Header

Primary card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Secondary card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Success card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Info card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Warning card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Danger card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Light card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Dark card

Some quick example text to build on the card title and make up the bulk of the card's content.

Cards with colored borders

Header

Primary card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Secondary card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Success card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Info card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Warning card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Danger card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Light card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Dark card

Some quick example text to build on the card title and make up the bulk of the card's content.

Forms

Text fields

We'll never share your email with anyone else.
Please provide a valid value.
$
.00
$
.00

Layouts

@
Must be 8-20 characters long.

Selects

Checkboxes

Radio buttons

Badges

Contextual badges

Primary Secondary Success Info Warning Danger Light Dark

Pill badges

Primary Secondary Success Info Warning Danger Light Dark

Links

Primary Secondary Success Info Warning Danger Light Dark

Badges in headings

Example heading New

Example heading New

Example heading New

Example heading New

Example heading New
Example heading New

Alerts

Simple alerts

Alerts with additional content

Popovers

Popovers

Tooltips

Progress bars

Colored progress bars

Label
Label
Label
Label
Label

Striped progress bars

Label
Label
Label
Label
Label

Modals