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.
Someone famous in Source Title
...centered
A well-known quote, contained in a blockquote element.
Someone famous in Source Title
...on right
A well-known quote, contained in a blockquote element.
Someone famous in Source Title
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
Responsive image
Thumbnail
Figure
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.
Media heading
This is some content from a media component. You can replace this with any content and adjust it as needed.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.Table
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird | Footer | Footer | Footer | Footer |
Inversed table
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird | 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 | Footer | Footer | Footer | Footer |
Inversed header
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird | Footer | Footer | Footer | Footer |
Small table
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird | Footer | Footer | Footer | Footer |
...with actions and colors
...with custom content
-
Active list group item heading
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta. -
List group item heading
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta. -
List group item heading
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta.
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.
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.
Various types of cards
- 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 linkLorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Special title treatment
With supporting text below as a natural lead-in to additional content.
Go somewhereSpecial title treatment
With supporting text below as a natural lead-in to additional content.
Go somewhereSome 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 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 somewhereSpecial title treatment
With supporting text below as a natural lead-in to additional content.
Go somewhereColored cards
Primary card
Some quick example text to build on the card title and make up the bulk of the card's content.
Secondary card
Some quick example text to build on the card title and make up the bulk of the card's content.
Success card
Some quick example text to build on the card title and make up the bulk of the card's content.
Info card
Some quick example text to build on the card title and make up the bulk of the card's content.
Warning card
Some quick example text to build on the card title and make up the bulk of the card's content.
Danger card
Some quick example text to build on the card title and make up the bulk of the card's content.
Light card
Some quick example text to build on the card title and make up the bulk of the card's content.
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
Primary card
Some quick example text to build on the card title and make up the bulk of the card's content.
Secondary card
Some quick example text to build on the card title and make up the bulk of the card's content.
Success card
Some quick example text to build on the card title and make up the bulk of the card's content.
Info card
Some quick example text to build on the card title and make up the bulk of the card's content.
Warning card
Some quick example text to build on the card title and make up the bulk of the card's content.
Danger card
Some quick example text to build on the card title and make up the bulk of the card's content.
Light card
Some quick example text to build on the card title and make up the bulk of the card's content.
Dark card
Some quick example text to build on the card title and make up the bulk of the card's content.
Contextual badges
Primary Secondary Success Info Warning Danger Light Dark
Pill badges
Primary Secondary Success Info Warning Danger Light Dark
Links
Badges in headings
Example heading New
Example heading New
Example heading New
Example heading New
Example heading New
Example heading New
Simple alerts
Alerts with additional content
Well done!
Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content. Also here is an example alert link.
Whenever you need to, be sure to use margin utilities to keep things nice and tidy.
Well done!
Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content. Also here is an example alert link.
Whenever you need to, be sure to use margin utilities to keep things nice and tidy.
Well done!
Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content. Also here is an example alert link.
Whenever you need to, be sure to use margin utilities to keep things nice and tidy.
Well done!
Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content. Also here is an example alert link.
Whenever you need to, be sure to use margin utilities to keep things nice and tidy.
Well done!
Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content. Also here is an example alert link.
Whenever you need to, be sure to use margin utilities to keep things nice and tidy.
Well done!
Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content. Also here is an example alert link.
Whenever you need to, be sure to use margin utilities to keep things nice and tidy.
Well done!
Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content. Also here is an example alert link.
Whenever you need to, be sure to use margin utilities to keep things nice and tidy.
Well done!
Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content. Also here is an example alert link.
Whenever you need to, be sure to use margin utilities to keep things nice and tidy.