Modals are a common design pattern…that lets you show some content…when the user pushes a button…or some other HTML element.…So, I'm going to show you…how to create a Bootstrap modal…and some of the options that you have…when working with them.…So, we have some vaccine information…right here in our content that we want to display…only when a user pushes a button.…So, the first thing we're going to need is the trigger…or the actual button that's going to trigger our modal.…I'll put it up here for right now.…
This will be a button just like we've done before…if you've been following along.…And the type is going to be button.…Our class is going to be just how we would do a button, btn…and then some sort of contextual button class,…so this case, we're going to do a warning,…so, btn-warning.…And then we need to add some attributes.…So the two attributes that we're going to add here…are data-toggle.…
- Understanding containers
- Using the 12-column grid to create a responsive webpage layout
- Creating rows and columns
- Styling content with Bootstrap CSS classes
- Adding CSS styles
- Creating and styling forms
- Creating dropdown menus and buttons
- Adding images and video
Skill Level Beginner
1. Getting Started
2. Working with the Bootstrap Grid
3. Exploring Basic Bootstrap CSS Classes
4. Adding Other CSS Styles
5. Styling Forms
6. Navigation Components
7. Media Components
8. Content Containers
Next steps1m 43s
- 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.Cancel
Take 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.