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.…
- 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
Responsive CSS with Sass and Compasswith Ray Villalobos3h 22m Intermediate
Building a Responsive Single-Page Design with Sasswith Ray Villalobos4h 55m Intermediate
1. Getting Started
2. Using Basic Styles
3. Mastering Layout with Bootstrap
4. Using Navs and Navbar Components
5. Basic Style Elements
6. Layout Components
7. Using Form Styles
8. Working with Interactive Components
- 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.