In this video, Ray Villalobos shows the code and classes necessary to create progress bars in Bootstrap 4, including how to style basic contextual classes for different colors, as well as animation and handling changes as progress bars grow and shrink.
- [Instructor] If you need to create progress bars,…Bootstrap makes it easy with a number of classes…to take care of them.…In order to do so, you need two sets of tags.…The main container is the progress container,…and then internally, you create a container…with the progress-bar class.…To control the width and height of the progress bar,…you can either use the width classes,…which are the w-25, 50, 75 or 100,…or directly use the style attribute…to control the width and the height.…
You can also add a label by putting in some text…between the internal progress bar element.…We'll take a look at how to do that in just a minute.…Of course, you also have color styles.…The bars are blue by default or the primary color.…If you want to, you can use…one of the contextual color classes…to change the color of the context of the bar.…Now there is an alternative style…that you can use called progress-bar-striped,…and that gives you a bar…that has some striped sort of bars on it.…If you want to, you can animate that…with progress-bar-animated,…
Author
Updated
8/10/2020Released
3/31/2017- Creating a basic template
- Reviewing basic styles and typography
- Using colors with Bootstrap
- Working with classes that help you deal with images
- Working with grid containers
- Offsetting columns
- Using list groups to style lists, buttons, and links
- Using breadcrumbs
- Reviewing layout components
- Using form styles
- Working with interactive components
Skill Level Beginner
Duration
Views
Q: This course was updated on 01/05/2018. What changed?
A: The following topics were updated: using basic styles, using navs and navbar components, style elements, using layout components, and working with interactive components.
Q: This course was updated on 03/16/2018. What changed?
A: The following topics were updated: installation options, creating a basic template, display properties, individual flex elements, and using form styles. In addition, new videos were added that cover CSS variables, using borders, and special form styles.
Related Courses
-
Introduction
-
Welcome1m 12s
-
Use the exercise files1m 43s
-
-
1. Getting Started
-
Introduction1m 18s
-
Installation options4m 51s
-
Creating a basic template4m 58s
-
-
2. Using Basic Styles
-
Basic styles overview1m 18s
-
Basic typography7m 34s
-
Typographic utilities8m 44s
-
Blockquotes and lists6m 23s
-
Using colors with Bootstrap4m 55s
-
Work with images8m 8s
-
CSS variables6m 26s
-
Text selection1m 56s
-
-
3. Mastering Layout with Bootstrap
-
Layout overview1m 15s
-
Using containers9m 32s
-
Multiple column classes8m 43s
-
Offset columns2m 42s
-
Nested columns5m 3s
-
Custom order3m 43s
-
Grid alignment options8m 23s
-
Display properties10m 26s
-
Flexbox container options11m 21s
-
Individual flex elements4m 38s
-
Floating elements4m 26s
-
Margin and padding5m 11s
-
Visibility2m 53s
-
Sizing utilities3m 53s
-
Using borders3m 50s
-
-
4. Using Navs and Navbar Components
-
Navbar overview1m 22s
-
Create basic navigation7m 44s
-
Create a navbar8m 56s
-
Use branding and text6m 28s
-
Add a dropdown to navigation6m 34s
-
Add form elements4m 17s
-
Control positioning3m 41s
-
Create collapsible content8m 48s
-
-
5. Style Element Overview
-
Create buttons4m 45s
-
Button groups4m 46s
-
Use badges2m 8s
-
Progress bar styles8m 4s
-
List groups6m 21s
-
Breadcrumbs3m 56s
-
Shadows1m 58s
-
6. Using Layout Component
-
Add a jumbotron3m 1s
-
Table styles8m 37s
-
Basic card layouts6m 7s
-
Card content classes5m 12s
-
Card layouts6m 33s
-
Use the media object5m 25s
-
7. Using Form Styles
-
Create a basic form4m 43s
-
Checkboxes and radio classes4m 32s
-
Style options3m 20s
-
Multicolumn forms9m 21s
-
Create input groups7m 13s
-
8. Working with Interactive Components
-
Add tooltips7m 21s
-
Display popovers5m 20s
-
Create alerts4m 14s
-
Use dropdowns8m 15s
-
Use modals12m 3s
-
Build carousels13m 37s
-
Use scrollspy6m 56s
-
Toasts6m 10s
-
Spinners5m 34s
-
Pagination3m 21s
-
Stretched links3m 11s
-
Embeds3m 9s
-
Conclusion
-
Next steps47s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Progress bar styles