From the course: CSS: Combining Grid and Flexbox
Unlock the full course today
Join today to access over 23,400 courses taught by industry experts.
Media objects for desktop - CSS Tutorial
From the course: CSS: Combining Grid and Flexbox
Media objects for desktop
- [Instructor] Now let's improve our large screen layout. As you can see, as my page gets wider, the media objects get far too wide. It's going to look much better if these display side by side. In addition, our heading and introductory paragraph do not display optimally at the large screen either. Go ahead and go down to the bottom of your CSS file where you'll find the comment for the large screen action area. We're going to start working from the top down, and we'll switch the layout of the action headline and introductory paragraph. As usual, we can resolve this layout issue using Flex or Grid. Let's use Grid since we've already used Flex to do this sort of layout. This way, you can compare the various methods. In addition, Grid will allow us to more easily control the column widths. It is worth noting out that I've already set a max-width of 1,200 pixels. This is on the action section and this will prevent this…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Overview of the project2m 41s
-
(Locked)
Webpage header with hero section8m 30s
-
(Locked)
Create a hamburger menu for mobile7m 12s
-
(Locked)
Create a horizontal menu for desktops7m 52s
-
(Locked)
Web cards, part 15m 56s
-
(Locked)
Web cards, part 26m 56s
-
(Locked)
CTA summaries3m 29s
-
(Locked)
Team section for mobile8m 19s
-
(Locked)
Team section for desktops3m 44s
-
(Locked)
Problem section5m 24s
-
(Locked)
Media objects for mobile6m 59s
-
(Locked)
Media objects for desktop4m 48s
-
(Locked)
Picture gallery9m 45s
-
(Locked)
Footer for large screen7m 5s
-
(Locked)
Footer for extra large screens6m 4s
-
(Locked)
-
-
-