Bootstrap Classes: A Comprehensive Reference Guide

Welcome to Code with Mind!

Bootstrap classes reference cheetsheet

List of All Bootstrap Classes

Complete list of all Bootstrap classes with description and relevant category name:

Sr. Class Description Cat
1 .active Adds a white text color to the active link in a navbar. Navbar
2 .active Adds a blue background color to the active list item in a list group List Groups
3 .active Adds a dark-blue background color to simulate a "pressed" button Buttons
4 .active Adds a blue background color to the active dropdown item in a dropdown Dropdowns
5 .active Adds a blue background color to the active pagination link (to highlight the current page) Pagination
6 .active Displays/shows the current carousel item Carousel
7 .alert Creates an alert message box Alerts
8 .alert-danger Red alert. Indicates a dangerous or potentially negative action Alerts
9 .alert-dark Dark alert. Dark grey alert box Alerts
10 .alert-dismissible Indicates a closable alert box. Together with the .close class, this class is used to close the alert (adds extra padding) Alerts
11 .alert-heading Adds color:inherit to the specified element Alerts
12 .alert-info Teal alert. Indicates a neutral informative change or action Alerts
13 .alert-light Light alert. Light grey alert box Alerts
14 .alert-link Used on links inside alerts to provide matching colored links Alerts
15 .alert-primary Blue alert. Indicates an important action Alerts
16 .alert-secondary Grey alert. Indicates a "less" important action Alerts
17 .alert-success Green alert. Indicates a successful or positive action Alerts
18 .alert-warning Yellow alert. Indicates caution should be taken with this action Alerts
19 .align-baseline The element is aligned with the baseline of the parent. This is default Utilities
20 .align-bottom The element is aligned with the lowest element on the line Utilities
21 .align-middle The element is placed in the middle of the parent element Utilities
22 .align-top The element is aligned with the top of the tallest element on the line Utilities
23 .align-text-top The element is aligned with the top of the parent element's font Utilities
24 .align-text-bottom The element is aligned with the bottom of the parent element's font Utilities
25 .align-content-around Align gathered items "around" Flex
26 .align-content-*-around Align gathered items "around" on different screens Flex
27 .align-content-center Align gathered items in the center Flex
28 .align-content-*-center Align gathered items in the center on different screens Flex
29 .align-content-end Align gathered items at the end Flex
30 .align-content-*-end Align gathered items at the end on different screens Flex
31 .align-content-start Align gathered items from the start Flex
32 .align-content-*-start Align gathered items from the start on different screens Flex
33 .align-content-stretch Stretch gathered items Flex
34 .align-content-*-stretch Stretch gathered items on different screens Flex
35 .align-items-start Align single rows of items from the start Flex
36 .align-items-*-start Align single rows of items from the start on different screens Flex
37 .align-items-end Align single rows of items at the end Flex
38 .align-items-*-end Align single rows of items at the end on different screens Flex
39 .align-items-center Align single rows of items in the center Flex
40 .align-items-*-center Align single rows of items in the center on different screens Flex
41 .align-items-baseline Align single rows of items at the baseline Flex
42 .align-items-*-baseline Align single rows of items at the baseline on different screens Flex
43 .align-items-stretch Stretch single rows of items Flex
44 .align-items-*-stretch Stretch single rows of items on different screens Flex
45 .align-self-start Align a flex item from the start Flex
46 .align-self-*-start Align a flex item from the start on different screens Flex
47 .align-self-end Align a flex item at the end Flex
48 .align-self-*-end Align a flex item at the end on different screens Flex
49 .align-self-center Align a flex item in the center Flex
50 .align-self-*-center Align a flex item in the center on different screens Flex
51 .align-self-baseline Align a flex item at the baseline Flex
52 .align-self-*-baseline Align a flex item at the baseline on different screens Flex
53 .align-self-stretch Stretch a flex item Flex
54 .align-self-*-stretch Stretch a flex item on different screens Flex
55 .badge Creates a circular badge (grey circle - often used as a numerical indicator) Badges
56 .badge-danger Red badge. Indicates a dangerous or potentially negative action Badges
57 .badge-dark Dark badge. Dark grey alert box Badges
58 .badge-info Teal badge. Indicates a neutral informative change or action Badges
59 .badge-light Light badge. Light grey alert box Badges
60 .badge-pill Makes a badge more round Badges
61 .badge-primary Blue badge. Indicates an important action Badges
62 .badge-secondary Grey badge. Indicates a "less" important action Badges
63 .badge-success Green badge. Indicates a successful or positive action Badges
64 .badge-warning Yellow badge. Indicates caution should be taken with this action Badges
65 .bg-danger Adds a red background color to an element. Represents danger or a negative action Colors
66 .bg-dark Adds a dark grey background color to an element Colors
67 .bg-info Adds a teal background color to an element. Represents some information Colors
68 .bg-light Adds a light grey background color to an element Colors
69 .bg-primary Adds a blue background color to an element. Represents something important Colors
70 .bg-secondary Adds a grey background color to an element. Indicates a "less" important action Colors
71 .bg-success Adds a green background color to an element. Indicates success or a positive action Colors
72 .bg-warning Adds a yellow/orange background color to an element. Represents a warning or a negative action Colors
73 .blockquote Styles quoted blocks of content from another source (adds a larger font-size (1.25rem)) Typography
74 .blockquote-footer Styles the source title inside the blockquote (light grey text with indentation) Typography
75 .border Adds a border to an element Utilities
76 .border-bottom-0 Removes the bottom border from an element Utilities
77 .border-danger Adds a red border to an element (indicates danger) Utilities
78 .border-dark Adds a dark border to an element Utilities
79 .border-info Adds a teal border to an element (indicates information) Utilities
80 .border-left-0 Removes the left border from an element Utilities
81 .border-light Adds a light grey border to an element Utilities
82 .border-primary Adds a blue border to an element Utilities
83 .border-right-0 Removes the right border from an element Utilities
84 .border-top-0 Removes the top border from an element Utilities
85 .border-secondary Adds a grey border to an element Utilities
86 .border-success Adds a green border to an element (indicates success) Utilities
87 .border-warning Adds a orange border to an element (indicates warning) Utilities
88 .border-white Adds a white border to an element Utilities
89 .border-0 Removes all borders from an element Utilities
90 .breadcrumb A pagination. Indicates the current page's location within a navigational hierarchy Pagination
91 .breadcrumb-item Styles list items or links inside the breadcrumb Pagination
92 .btn Creates a basic button (gray background and rounded corners) Buttons
93 .btn-block Creates a block level button that spans the entire width of the parent element Buttons
94 .btn-dark Dark grey button Buttons
95 .btn-danger Red button. Indicates danger or a negative action Buttons
96 .btn-group Groups buttons together on a single line Button Groups
97 .btn-group-lg Large button group (makes all buttons in a button group larger - increased font-size and padding) Button Groups
98 .btn-group-sm Small button group (makes all buttons in a button group smaller) Button Groups
99 .btn-group-vertical Makes a button group appear vertically stacked Button Groups
100 .btn-info Teal button. Represents a neutral informative change or action Buttons
101 .btn-light Light grey button Buttons
102 .btn-link Makes a button look like a link (get button behavior) Buttons
103 .btn-lg Large button Buttons
104 .btn-outline-dark Dark grey bordered/outlined button Buttons
105 .btn-outline-danger Red bordered/outlined button. Indicates danger or a negative action Buttons
106 .btn-outline-info Teal bordered/outlined button. Represents a neutral informative change or action Buttons
107 .btn-outline-light Light grey bordered/outlined button Buttons
108 .btn-outline-primary Blue bordered/outlined button. Buttons
109 .btn-outline-secondary Grey bordered/outlined button. Indicates a "less" important action Buttons
110 .btn-outline-success Green bordered/outlined button. Indicates success or a positive action Buttons
111 .btn-outline-warning Orange bordered/outlined button. Represents warning or a negative action Buttons
112 .btn-primary Blue button. Indicates a something important Buttons
113 .btn-sm Small button Buttons
114 .btn-secondary Grey button. Indicates a "less" important action Buttons
115 .btn-success Green button. Indicates success or a positive action Buttons
116 .btn-toolbar Combine sets of button groups into button toolbars for more complex components Button Groups
117 .btn-warning Orange button. Represents warning or a negative action Buttons
118 .card Creates a card Cards
119 .card-body Container for card content Cards
120 .card-columns Container to create a masonry-like grid of cards Cards
121 .card-danger Adds a red background color to the card. Represents danger or a negative action Cards
122 .card-dark Adds a grey background color to the card Cards
123 .card-deck Container to create a grid of cards that are of equal height and width Cards
124 .card-footer Card footer Cards
125 .card-group Container to create a grid of cards that are of equal height and width, without side margins Cards
126 .card-header Card header Cards
127 .card-header-tabs Styles navigation tabs inside the card header Cards
128 .card-header-pills Styles navigation pills inside the card header Cards
129 .card-img-bottom Place the image at the bottom inside a card Cards
130 .card-img-overlay Turns an image into a card background. Often used to add text on top of the image Cards
131 .card-img-top Place the image at the top inside a card Cards
132 .card-info Adds a teal background color to the card. Represents some information Cards
133 .card-light Adds a light grey background color to the card Cards
134 .card-link Adds a blue color to any link and a hover effect inside the card Cards
135 .card-primary Adds a blue background color to the card. Represents something important Cards
136 .card-secondary Adds a grey background color to the card. Represents something "less" important Cards
137 .card-subtitle The .card-subtitle is used after a .card-title, and adds the following to an element: margin-top: -.375rem; margin-bottom: 0; Cards
138 .card-success Adds a green background color to the card. Indicates success or a positive action Cards
139 .card-text Used to remove bottom margins for a p element if it is the last child (or the only one), inside .card-body Cards
140 .card-title Adds a title to any heading element inside the card Cards
141 .card-warning Adds a yellow/orange background color to the card. Represents a warning or a negative action Cards
142 .carousel Creates a carousel (slideshow) Carousel
143 .carousel-caption Creates a caption text for each slide in the carousel Carousel
144 .carousel-control-next Container for "next" carousel/item link Carousel
145 .carousel-control-next-icon Used together with .carousel-control-next to create a "next" icon/button (right-pointed arrow) Carousel
146 .carousel-control-prev Container for "previous" carousel/item link Carousel
147 .carousel-control-prev-icon Used together with .carousel-control-prev to create a "previous" icon/button (left-pointed arrow) Carousel
148 .carousel-indicators Adds little dots/indicators at the bottom of each slide (which indicates how many slides there is in the carousel, and which slide the user are currently viewing) Carousel
149 .carousel-inner Container for slide items Carousel
150 .carousel-item Specifies the content of each slide Carousel
151 .clearfix Clears floats Utilities
152 .close Styles a close icon. This is often used for alerts and modals. Often used together with the × symbol to create the actual icon (a better looking "x"). It floats right by default Utilities
153 .col-auto Make form columns automatically size themselves based on their content Forms
154 .col-* Creates a column layout for extra small devices (and up/all devices, if not combined with other column classes). The * can be a number between 1 and 12 Grid System
155 .col-sm-* Creates a column layout for small devices (and up, if not combined with other column classes). The * can be a number between 1 and 12 Grid System
156 .col-md-* Creates a column layout for medium devices (and up, if not combined with other column classes). The * can be a number between 1 and 12 Grid System
157 .col-lg-* Creates a column layout for large devices (and up, if not combined with other column classes). The * can be a number between 1 and 12 Grid System
158 .col-xl-* Creates a column layout for extra large devices. The * can be a number between 1 and 12 Grid System
159 .collapse Indicates collapsible content - which can be hidden or shown on demand Collapse
160 .collapse show Show the collapsible content by default Collapse
161 .container Fixed width container with widths determined by screen sites. Equal margin on the left and right. Containers
162 .container-fluid A container that spans the full width of the screen Containers
163 .container-* Responsive containers Containers
164 .custom-checkbox A wrapper/container for custom checkboxes Custom Forms
165 .custom-control A wrapper/container for custom forms Custom Forms
166 .custom-control-input Customized form control Custom Forms
167 .custom-control-inline Inline (horizontally - side by side) customized form controls Custom Forms
168 .custom-control-label Customized label, when used together with a custom form control Custom Forms
169 .custom-file Customized file upload Custom Forms
170 .custom-file-input Customized file upload Custom Forms
171 .custom-file-label Customized file label Custom Forms
172 .custom-radio A wrapper/container for custom radio buttons Custom Forms
173 .custom-range Customized range control Custom Forms
174 .custom-select Customized select menu Custom Forms
175 .custom-select-lg Large customized select menu Custom Forms
176 .custom-select-sm Small customized select menu Custom Forms
177 .custom-switch Customized toggle switch Custom Forms
178 .disabled Disables a button (adds opacity and a "no-parking-sign" icon on hover) Buttons
179 .disabled Disables a dropdown item (adds a grey text color and a "no-parking-sign" icon on hover) Dropdowns
180 .disabled Disables a pagination link (cannot be clicked - adds a grey text color and a "no-parking-sign" icon on hover) Pagination
181 .disabled Disables a list item in a list group (cannot be clicked - adds a light grey color and removes the hover effect on list item links) List Groups
182 .dropdown Creates a toggleable menu that allows the user to choose one value from a predefined list Dropdowns
183 .dropdown-divider Used to separate links in the dropdown menu with a thin horizontal border Dropdowns
184 .dropdown-header Used to add headers inside the dropdown menu Dropdowns
185 .dropdown-item Creates a dropdown item (added to links or buttons inside .dropdown-menu) Dropdowns
186 .dropdown-item-text Used to add plain text to a dropdown item, or used on links for default link styling Dropdowns
187 .dropdown-menu Adds the default styles for the dropdown menu container Dropdowns
188 .dropdown-menu-right Right-aligns a dropdown menu Dropdowns
189 .dropdown-toggle Used on the button that should hide and show (toggle) the dropdown menu Dropdowns
190 .dropleft Left-aligns the dropdown Dropdowns
191 .dropright Right-aligns the dropdown Dropdowns
192 .dropup Indicates a dropup menu (upwards instead of downwards) Dropdowns
193 .d-block Creates a block element (adds display:block) Utilities
194 .d-*-block Creates a block element on a specific screen width Utilities
195 .d-inline Makes an element inline Utilities
196 .d-*-inline Makes an element inline on a specific screen size Utilities
197 .d-inline-block Makes an element inline block Utilities
198 .d-*-inline-block Makes an element inline block on a specific screen size Utilities
199 .d-flex Creates a flexbox container and transforms direct children into flex items Flex
200 .d-*-flex Creates a flexbox container on a specific screen size Flex
201 .d-inline-flex Creates an inline flexbox container Flex
202 .d-*-inline-flex Creates an inline flexbox container on a specific screen size Flex
203 .d-none Hides an element Utilities
204 .d-*-none Hides an element on a specific screen size Utilities
205 .d-table Makes an element display as a table Utilities
206 .d-*-table Makes an element display as a table on a specific screen size Utilities
207 .d-table-cell Makes an element display as a table cell Utilities
208 .d-*-table-cell Makes an element display as a table cell on a specific screen size Utilities
209 .d-table-row Makes an element display as a table row Utilities
210 .d-*-table-row Makes an element display as a table row on a specific screen size Utilities
211 .embed-responsive Container for embedded content. Makes videos or slideshows scale properly on any device Images
212 .embed-responsive-16by9 Container for embedded content. Creates an 16:9 aspect ratio embedded content Images
213 .embed-responsive-3by4 Container for embedded content. Creates an 3:4 aspect ratio embedded content Images
214 .embed-responsive-item Used inside .embed-responsive. Scales the video nicely to the parent element Images
215 .fade Adds a fading effect when closing an alert box Alerts
216 .fade Adds a fading effect when showing tab/pill content Navs
217 .fade Adds a fading effect when opening a modal Modal
218 .fixed-bottom Makes an element stay at the bottom of the screen (sticky/fixed) Utilities
219 .fixed-top Makes an element stay at the top of the screen (sticky/fixed) Utilities
220 .flex-column Display flex items vertically Flex
221 .flex-*-column Display flex items vertically on different screen sizes: Flex
222 .flex-column-reverse Display flex items vertically, reversed Flex
223 .flex-*-column-reverse Display flex items vertically, reversed, on different screen sizes Flex
224 .flex-fill Used on flex items to force it/them into equal width columns Flex
225 .flex-*-fill Force flex items into equal widths on different screens Flex
226 .flex-grow-0|1 Used on a single flex item to take up the rest of the available space Flex
227 .flex-nowrap Don't wrap flex items Flex
228 .flex-*-nowrap Don't wrap items on different screens Flex
229 .flex-shrink-0|1 Used on a single flex item to shrink it if necessary Flex
230 .flex-row Display flex items horizontally (side by side) Flex
231 .flex-*-row Display flex items horizontally on a specific screen size Flex
232 .flex-row-reverse Display flex items right-aligned and horizontally Flex
233 .flex-*-row-reverse Display flex items right-aligned and horizontally on a specific screen size Flex
234 .flex-wrap Wrap flex items Flex
235 .flex-*-wrap Wrap items on different screens Flex
236 .flex-wrap-reverse Wrap flex items, in reversed order Flex
237 .flex-*-wrap-reverse Wrap flex items, in reversed order on different screens Flex
238 .float-left Floats an element to the left Utilities
239 .float-*-left Floats an element to the left on different screens Utilities
240 .float-none Remove floats from an element Utilities
241 .float-right Floats an element to the right Utilities
242 .float-*-right Floats an element to the left on different screens Utilities
243 .font-italic Italic text Typography
244 .font-weight-bold Bold text Typography
245 .font-weight-bolder Bolder text (font-weight:bolder) Typography
246 .font-weight-light Light weight text (font-weight:300) Typography
247 .font-weight-lighter Lighter weight text (font-weight:lighter) Typography
248 .font-weight-normal Normal text (font-weight:400) Typography
249 .form-check Container for checkboxes. Adds proper padding Forms
250 .form-check-inline Makes checkboxes appear on the same line (horizontally) Forms
251 .form-check-input Styles checkboxes with proper margins Forms
252 .form-check-label Ensures proper margins for labels used together with checkboxes Forms
253 .form-control Used on input, textarea, and select elements to span the entire width of the page and make them responsive Forms
254 .form-control-file Adds display:block and width:100% to input filed with type="file" Forms
255 .form-control-lg Large form control Forms
256 .form-control-plaintext Styles a form control as plain text Forms
257 .form-control-range Adds display:block and width:100% to input filed with type="range" Forms
258 .form-control-sm Small form control Forms
259 .form-group Container for form input and label Forms
260 .form-inline Makes a
left-aligned with inline-block controls (This only applies to forms within viewports that are at least 768px wide)
Forms
261 .form-row Container for responsive columns (less left and right margins than .row/overrides default column gutters) Forms
262 .h1 - .h6 Makes an element look like a heading of the chosen class (h1-h6) Typography
263 .h-25 Sets the height of an element to 25% Utilities
264 .h-50 Sets the height of an element to 50% Utilities
265 .h-75 Sets the height of an element to 75% Utilities
266 .h-100 Sets the height of an element to 100% Utilities
267 .img-fluid Responsive image (adds max-width:100% and height:auto) Images
268 .img-thumbnail Shapes an image to a thumbnail (thin light grey borders) Images
269 .initialism Displays the text inside an element in a slightly smaller font size Typography
270 .input-group Container to enhance an input by adding an icon, text or a button in front or behind the input field as a "help text" Input Group
271 .input-group-append Input group container for adding help text behind an input field Input Group
272 .input-group-lg Large input group Input Group
273 .input-group-prepend Input group container for adding help text in front of an input field Input Group
274 .input-group-sm Small input group Input Group
275 .input-group-text Styles the specified help text in an input group Input Group
276 .input-lg Large input field Input Sizing
277 .input-sm Small input field Input Sizing
278 .invalid-feedback Creates a custom validation message used in validated forms (red text color) Forms
279 .invalid-tooltip Creates a custom validation message used in validated forms (red tooltip) Forms
280 .invisible Make an element invisible Utilities
281 .is-invalid Validates a form element (adds a red border to input fields). Note: for server side Forms
282 .is-valid Validates a form element (adds a green border to input fields). Note: for server side Forms
283 .jumbotron Creates a padded grey heading/box with rounded corners that enlarges the font sizes of the text inside it. Used for calling extra attention to some special content or information Jumbotron
284 .jumbotron-fluid Creates a full-width jumbotron (grey padded heading) without rounded borders Jumbotron
285 .justify-content-* Aligns flex items from the start, at the end, centered, in between and "around" Flex
286 .justify-content-*-around Aligns flex items "around" on different screen sizes Flex
287 .justify-content-*-between Aligns flex items in "between" on different screen sizes Flex
288 .justify-content-*-center Aligns flex items in the center on different screen sizes Flex
289 .justify-content-*-end Aligns flex items at the end on different screen sizes Flex
290 .justify-content-*-start Aligns flex items from the start on different screen sizes Flex
291 .lead Increase the font size and line height of a paragraph Typography
292 .list-group Creates a bordered list group for
  • elements
  • List Group
    293 .list-group-flush Removes some borders and rounded corners from list items in a list group List Group
    294 .list-group-horizontal Display list items horizontally instead of vertically (side-by-side instead of on top of each other) List Group
    295 .list-group-horizontal-* Display list items horizontally instead of vertically on different screen sizes List Group
    296 .list-group-item Added to each
  • element in the list group
  • List Group
    297 .list-group-item-action Added to links inside the list group to make them stand out on hover (darker background) List Group
    298 .list-group-item-danger Red background color for a list item in a list group List Group
    299 .list-group-item-dark Dark grey background color for a list item in a list group List Group
    300 .list-group-item-info Light-blue background color for a list item in a list group List Group
    301 .list-group-item-light Light grey background color for a list item in a list group List Group
    302 .list-group-item-primary Blue background color for a list item in a list group List Group
    303 .list-group-item-success Green background color for a list item in a list group List Group
    304 .list-group-item-warning Yellow background color for a list item in a list group List Group
    305 .list-inline Places all list items on a single line (used together with .list-inline-item on each
  • elements)
  • Typography
    306 .list-inline-item Places all list items on a single line (used together with .list-inline on the parent
      element)
    Typography
    307 .list-unstyled Removes all default list-style (bullets, left margin, etc.) styling from a <ul> or <ol> list Typography
    308 .mark Highlights text: Highlighted text Typography
    309 .media Aligns media objects together with content (like images or videos - often used for comments in a blog post etc) Media Objects
    310 .media-body Container for media content Media Objects
    311 .modal Identifies the content as a modal and brings focus to it Modals
    312 .modal-body Defines the style for the body of the modal. Add any HTML markup here (p, img, etc) Modals
    313 .modal-content Styles the modal (border, background-color, etc). Inside this, add the modal's header, body and footer, if needed Modals
    314 .modal-dialog-centered Centers the modal vertically and horizontally within the page Modals
    315 .modal-dialog-scrollable Adds a scrollbar inside the modal Modals
    316 .modal-footer The footer of the modal (often contains an action button and a close button) Modals
    317 .modal-header The header of the modal (often contains a title and a close button) Modals
    318 .modal-lg Large modal (wider than default) Modals
    319 .modal-sm Small modal (less width) Modals
    320 .modal-xl Extra large modal Modals
    321 .m-# / m-*-# Responsive margin classes. * can be sm, md, lg or xl. # can be a number between 0 and 5 Utilities
    322 .mt-# / mt-*-# Responsive top margin classes. * can be sm, md, lg or xl. # can be a number between 0 and 5 Utilities
    323 .mb-# / mb-*-# Responsive bottom margin classes. * can be sm, md, lg or xl. # can be a number between 0 and 5 Utilities
    324 .ml-# / ml-*-# Responsive left margin classes. * can be sm, md, lg or xl. # can be a number between 0 and 5 Utilities
    325 .mr-# / mr-*-# Responsive right margin classes. * can be sm, md, lg or xl. # can be a number between 0 and 5 Utilities
    326 .mx-# / mx-*-# Responsive left and right margin auto (horizontal) classes. * can be sm, md, lg or xl. # can be a number between 0 and 5 Utilities
    327 .my-# / my-*-# Responsive top and bottom margin auto (vertical) classes. * can be sm, md, lg or xl. # can be a number between 0 and 5 Utilities
    328 .mx-auto Centers an element horizontally Utilities
    329 .nav nav-tabs Creates a tabbed menu Tabs
    330 .nav nav-pills Creates a pill menu Tabs
    331 .nav-justified Justifies tab/pill links with an equal width Tabs
    332 .navbar Creates a navigation bar Navbar
    333 .navbar-nav Container for navigation links inside the .navbar container Navbar
    334 .navbar-brand Added to a link or a header element inside the navbar to represent a logo or a header Navbar
    335 .navbar-collapse Collapses the navbar (hidden and replaced with a menu/hamburger icon on mobile phones and small tablets) Navbar
    336 .navbar-expand-* Responsive collapsible class - stacks the navbar vertically on small (sm), medium (md), large (lg) or extra large (xl) screens Navbar
    337 .navbar-dark Adds a white text color to all links in the navbar Navbar
    338 .navbar-light Adds a black text color to all links in the navbar Navbar
    339 .navbar-text Vertically align any elements inside the navbar that are not links (ensures proper padding) Navbar
    340 .navbar-toggler Styles the button that should open the navbar on small screens. Automatically styled as a hamburger/three bars Navbar
    341 .nav-link Used to style links/anchors inside the navbar Navbar
    342 .nav-item Used to style list items inside the navbar Navbar
    343 .needs-validation Adds validation styles to a submitted form Forms
    344 .no-gutters Remove gutters/extra space from columns Grid System
    345 .page-item Styles list items inside a pagination Pagination
    346 .page-link Styles links inside a pagination Pagination
    347 .pagination Creates a pagination (Useful when you have a web site with lots of pages Pagination
    348 .pagination-lg Large pagination (each pagination link gets a bigger font-size and more padding) Pagination
    349 .pagination-sm Small pagination (each pagination link gets a smaller font size and less padding) Pagination
    350 .pre-scrollable Makes a
     element scrollable (max-height of 350px and provide a y-axis scrollbar)
    Helpers
    351.progressContainer for progress barsProgress Bars
    352.progress-barCreates a progress barProgress Bars
    353.progress-bar-animatedAnimates the progress bar (used together with stripes)Progress Bars
    354.progress-bar-stripedAdds stripes to the progress barProgress Bars
    355.p-# / p-*-#Responsive padding classes. * can be sm, md, lg or xl. # can be a number between 0 and 5Utilities
    356.pt-# / pt-*-#Responsive top padding classes. * can be sm, md, lg or xl. # can be a number between 0 and 5Utilities
    357.pb-# / pb-*-#Responsive bottom padding classes. * can be sm, md, lg or xl. # can be a number between 0 and 5Utilities
    358.pl-# / pl-*-#Responsive left padding classes. * can be sm, md, lg or xl. # can be a number between 0 and 5Utilities
    359.pr-# / pr-*-#Responsive right padding classes. * can be sm, md, lg or xl. # can be a number between 0 and 5Utilities
    360.py-# / py-*-#Responsive top and bottom padding classes. * can be sm, md, lg or xl. # can be a number between 0 and 5Utilities
    361.px-# / px-*-#Responsive left and right padding classes. * can be sm, md, lg or xl. # can be a number between 0 and 5Utilities
    362.roundedAdds rounded corners to an elementUtilities
    363.rounded-bottomAdds bottom rounded corners to an elementUtilities
    364.rounded-circleShapes an element to a circle (not supported in IE8 and earlier)Utilities
    365.rounded-leftAdds left rounded corners of an elementUtilities
    366.rounded-rightAdds right rounded corners to an elementUtilities
    367.rounded-topAdds top rounded corners to an elementUtilities
    368.rounded-0Removes rounded corners from an elementUtilities
    369.rowContainer for responsive columnsGrid System
    370.row-cols-*Set the number of columns that should appear next to each otherGrid System
    371.shadowAdds a shadow to an elementUtilities
    372.shadow-lgAdds a large shadow to an elementUtilities
    373.shadow-noneRemoves shadows from an elementUtilities
    374.shadow-smAdds a small shadow to an elementUtilities
    375.smallCreates a lighter, secondary text in any headingTypography
    376.spinner-borderCreates a spinner/loaderSpinners
    377.spinner-border-smCreates a smaller spinner/loaderSpinners
    378.spinner-growCreates a spinner/loader that "grows"Spinners
    379.spinner-grow-smCreates a smaller spinner/loader that "grows"Spinners
    380.sr-onlyHides an element on all devices except for screen readersUtilities
    381.sr-only-focusableHides an element on all devices except for screen readersUtilities
    382.sticky-topMakes an element stay sticky/fixed at the top of the page when you scroll past itUtilities
    383.stretched-linkAdded to a link to make its containing block (parent) clickable (works only for parent elements with position:relative)Utilities
    384.tab-contentUsed together with .tab-pane to creates toggleable/dynamic tabs/pillsTabs
    385.tab-paneUsed together with .tab-content to creates toggleable/dynamic tabs/pillsTabs
    386.tableAdds basic styling to a table (padding, bottom borders, etc)Tables
    387.table-activeAdds a grey background color to the table row (<tr> or table cell (<td>) (same color used on hover)Tables
    388.table-borderedAdds borders on all sides of the table and cellsTables
    389.table-borderlessRemove borders from a tableTables
    390.table-condensedMakes a table more compact by cutting cell padding in halfTables
    391.table-darkAdds a black background with white text to the tableTables
    392.table-hoverCreates a hoverable table (adds a grey background color on table rows on hover)Tables
    393.table-responsive-*Makes a table responsive (adds a horizontal scrollbar when needed). By default, the scrollbar is added to the table on screens that are less than 992px wide (if needed). There's no difference when viewing anything lager than 992px wide. However, you can use sm|md|lg|xl to decide WHEN the table should get a scrollbar, depending on the screen widthTables
    394.table-stripedAdds zebra-stripes to a tableTables
    395.text-breakPrevents long text from breaking layoutTypography
    396.text-capitalizeIndicates capitalized textTypography
    397.text-centerCenter-aligns textTypography
    398.text-*-centerCenter-aligns text on different screensTypography
    399.text-dangerRed text color. Indicates dangerColors
    400.text-darkDark grey text colorTypography
    401.text-decoration-noneRemoves the underline from a linkTypography
    402.text-hideHides text (helps replace an element's text content with a background image)Typography
    403.text-infoLight-blue text color. Indicates informationColors
    404.text-lightLight grey text colorColors
    405.text-justifyIndicates justified textTypography
    406.text-leftAligns the text to the leftTypography
    407.text-*-leftLeft-aligns text on different screensTypography
    408.text-lowercaseChanges text to lowercaseTypography
    409.text-mutedGrey text colorColors
    410.text-nowrapPrevents the text from wrappingTypography
    411.text-primaryBlue text color. Indicates something importantColors
    412.text-secondaryGrey text color. Indicates something "less" importantColors
    413.text-resetResets the color of a text or a link (inherits the color from its parent)Typography
    414.text-rightAligns text to the rightTypography
    415.text-*-rightRight-aligns text on different screensTypography
    416.text-successGreen text color. Indicates successColors
    417.text-uppercaseMakes text uppercaseTypography
    418.text-warningYellow/orange text color. Indicates warningColors
    419.text-whiteWhite text colorColors
    420.thead-darkAdds a black background color to table headersTables
    421.thead-lightAdds a grey background color to table headersTables
    422.toastCreates a toast (alert box that disappears after a few seconds)Toast
    423.toast-bodyToast bodyToast
    424.toast-headerToast headerToast
    425.valid-feedbackCreates a custom validation message used in validated forms (green text color)Forms
    426.valid-tooltipCreates a custom validation message used in validated forms (green tooltip)Forms
    427.visibleMake an element visibleUtilities
    428.was-validatedAdds validation styles to a form elementForms
    429.w-25Sets the width of an element to 25%Utilities
    430.w-50Sets the width of an element to 50%Utilities
    431.w-75Sets the width of an element to 75%Utilities
    432.w-100Sets the width of an element to 100%Utilities

    Post a Comment