In this video, Ray Villalobos shows how to work with media layouts where text and images are side by side and the content doesn't wrap, which is a common design pattern to create simple two-column formats for images and text.
- [Instructor] It's really common to have layouts…where you have images and text side-by-side…and you need the images to be in a separate column…than the rest of the content.…For this task, Bootstrap gives you a couple of media classes…and they're much simpler to use now than they used to be…in the previous version of Bootstrap.…And that's because they're based on flexbox.…Here's how they work.…On the container for each one of the elements…that you want the control-like disk,…you need to add a media class as a container…and then for the elements that you want to be…off to one side,…you add the media body…and then you can leave the image by itself…and use flexbox to control how those elements are laid out.…
Using flexbox is part of what makes it so easy to use now.…So let's take a look at an example.…So here we have the same doctors that we've been seeing…in the last few videos…and right now they don't have anything sort of special,…they're in a main container just so they align to the grid,…and then they're just within this section tag.…
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: Use the media object