Professional Documents
Culture Documents
Bootstrap (W3Schools) PDF
Bootstrap (W3Schools) PDF
.alert- Together with the .close class, this class Try it Alerts
dismissible is used to close the alert
.btn-block Creates a block level button that spans the Try it Buttons
entire width of the parent element
.btn-group-xs Extra small button group (makes all buttons Try it Button
in a button group extra small) Groups
.btn-link Makes a button look like a link (get button Try it Buttons
behavior)
.carousel- Creates a caption text for each slide in the Try it Carousel
caption carousel
.container- A container that spans the full width of the Try it Containers
fluid screen
.disabled Disables a list item in a list group (cannot be Try it List Groups
clicked - adds a grey background color and a
"no-parking-sign" icon on hover)
.dropdown- Adds the default styles for the dropdown Try it Dropdowns
menu menu container
.dropdown- Used on the button that should hide and Try it Dropdowns
toggle show (toggle) the dropdown menu
.form- Adds plain text next to a form label within a Try it Inputs 2
control- horizontal form
static
.h1 - .h6 Makes an element look like a heading of the Try it Typography
chosen class (h1-h6)
.has-danger Adds a red color to the label and a red Try it Forms
border to the input, as well as an error icon
inside the input (used together with .has-
feedback)
.has-success Adds a green color to the label and a green Try it Forms
border to the input, as well as a checkmark
icon inside the input (used together
with .has-feedback)
.help-block A block of help text that breaks onto a new Try it Input
line and may extend beyond one line. Sizing
.lead Increase the font size and line height of a Try it Typography
paragraph
Class Description Example Tutorial
.list-group- Added to each <li> element in the list Try it List Group
item group
.list-group- Red background color for a list item in a list Try it List Group
item-danger group
.list-group- Creates a list group heading (used on other Try it List Group
item-heading elements besides <li>)
.list-group- Light-blue background color for a list item Try it List Group
item-info in a list group
.list-group- Green background color for a list item in a Try it List Group
item-success list group
.list-group- Used for item text inside the list group (used Try it List Group
item-text on other elements besides <li>)
Class Description Example Tutorial
.list-group- Yellow background color for a list item in a Try it List Group
item-warning list group
.modal-body Defines the style for the body of the modal. Try it Modals
Add any HTML markup here (p, img, etc)
.modal-dialog Sets the proper width and margin of the Try it Modals
modal
.nav .navbar- Used on a <ul> container that contains the Try it Navbar
nav list items with links inside a navigation bar
.navbar- Makes the navbar stay at the bottom of the Try it Navbar
fixed-bottom screen (sticky/fixed)
.navbar- Makes the navbar stay at the top of the Try it Navbar
fixed-top screen (sticky/fixed)
.navbar- Styles the button that should open the Try it Navbar
toggle navbar on small screens. Often used
together with three .icon-bar classes to
indicate a toggleable menu icon
(hamburger/bars)
.next Used to align pager buttons to the right side Try it Pager
of the page (next button)
.popover Popup-box that appears when the user clicks Try it Popover
on an element
.previous Used to align pager buttons to the left side Try it Pager
of the page (previous button)
.table- Adds borders on all sides of the table and Try it Tables
bordered cells