From the course: CSS Essential Training
Unlock this course with a free trial
Join today to access over 25,600 courses taught by industry experts.
Breakpoints and media queries
From the course: CSS Essential Training
Breakpoints and media queries
- [Instructor] Media queries are used to apply CSS based on specific conditions. A breakpoint is the point where a media query is introduced to make layout or design changes. For responsive web design, breakpoints were often used to target the width of specific device categories, mobile, tablet, laptops, and desktops. While these general guidelines still target the majority of available screen sizes, another approach is to choose breakpoints based on where the design and layout begins to break rather than focusing on specific device dimensions. Even if you decide to choose breakpoints based on design, it's still helpful to have a general idea of what resolutions are currently being used. Statcounter is a tool that provides website user statistics. This graph shows the resolution usage for all platforms worldwide. You can also filter by specific platform, region, or year. When looking at the graph, we can see that there are a…
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)
Introduction to responsive design1m 39s
-
(Locked)
Introduction to media queries3m 30s
-
(Locked)
Breakpoints and media queries3m 17s
-
(Locked)
Creating fluid layouts1m 11s
-
(Locked)
The viewport meta tag1m 30s
-
(Locked)
Testing responsive layouts2m 55s
-
(Locked)
Project: Breakpoints2m 19s
-
(Locked)
Project: Media queries8m 5s
-
(Locked)
-