From the course: CSS Essential Training
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Project: Media queries: Part 2 - CSS Tutorial
From the course: CSS Essential Training
Project: Media queries: Part 2
- [Instructor] For the work experience section, we were already using grid. So let's see how the styles hold up in viewports smaller than 860 pixels. It looks like it doesn't hold up for too long and starts to look squished at just under 800 pixels. In the dev tools, we can uncheck a CSS declaration to see how the work items will look without the grid style. This is great for testing. So we'll uncheck the display grid to temporarily remove the styles. Starting at 860, it's a little wider than I would like, but around 750 it looks fine to me. So just like the project thumbnails, I'm okay with having a small range where things aren't totally perfect but also not broken. So this layout looks fine until we get down to the smallest viewport, which according to stat counter is 360 pixels. There's one thing I'd like to change for this one column layout. We had removed the padding from the top of the first paragraph of the…
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
-
-
-
-
-
-
-
-
-
Intro to responsive design1m 29s
-
(Locked)
Intro to media queries4m 32s
-
(Locked)
Breakpoints and media queries3m 32s
-
(Locked)
Fluid layouts2m 36s
-
(Locked)
The viewport meta tag1m 53s
-
(Locked)
Testing responsive layouts3m 1s
-
(Locked)
Project: Breakpoints3m 38s
-
(Locked)
Project: Media queries: Part 112m 26s
-
(Locked)
Project: Media queries: Part 28m 26s
-
(Locked)
Project: Media queries: Part 36m 17s
-
-