When creating digital content, it is crucial to establish what audience this is intended for. According to W3Schools.com, a website created for web and software developers, when designing web layouts today, it is especially important to plan and execute with the concept of “Mobile First” in mind. Because of a growing audience heavily relying on mobile devices and a clear transition of the use of media types, it seems as a non-brainer to design content for mobile devices first, as the concept suggests, and then implementing media queries to optimize it for a desktop experience. As the website infers, “Instead of changing styles when the width gets smaller than 768px, we should change the design when the width gets larger than 768px” (W3Schools, 2020).
This translates into making “our design Mobile First” (W3Schools, 2020). But how do we implement the oh-so-acclaimed concept of “Mobile First” when designing and executing web layouts? There are two main strategies to bear in mind and apply as we go along in the creation process: Media queries and breakpoints. The second, however, is thought of as, perhaps, one of the most if not the most crucial part of the design planning process.
Establishing what content to display for a specific range of display sizes as well as fixing “breakpoints” for each of them is essential because it allows us to tailor and optimize content in relation to the device it is meant to be displayed, therefore, targeting specific audiences. Through the implementation of media queries and breakpoints, in fact, we can optimize user experience by adjusting font size, what elements ought to be displayed, the arrangement of given elements that would clearly differ from a desktop view, and more.
As we previously explained, to better understand the planning process it is vital to establish breakpoints first. To do so we need to learn more about the most popular devices used today so to establish similarities in display sizes and resolutions. From there it is indeed feasible to ascertain crucial data between ranges of devices so to create groups that allow different designs to take place.
Take a look at how W3Schools website will treat content differently based solely on screen widths. This is done by instructing the browser to enable different CSS files or different CSS styles within one CSS stylesheet through special instructions called media queries (inquiring the local machine what media type it is using along with some important specifications such as width, height, etc.).
| Device Type | Device Name | Display Size | Pixel Res | PPI |
|---|---|---|---|---|
| Smartphone | Apple iPhone 6s | 4.7" | 1334 x 750 | 326 |
| Smartphone | Samsung Galaxy S8 Plus | 6.2" | 2960 x 1440 | 529 |
| Smartphone | Google Pixel XL | 5.5" | 2560 x 1440 | 534 |
| Smartphone | Apple iPhone XR | 6.1" | 1792 x 828 | 326 |
| Smartphone | Samsung Galaxy Note 10+ | 6.8" | 3040 x 1440 | 498 |
| Smartphone | iPhone 11 Pro Max | 6.5" | 2688 x 1242 | 458 |
| Smartphone | Google Pixel 4 XL | 6.3" | 3040 x 1440 | 537 |
| Device Type | Device Name | Display Size | Pixel Res | PPI |
|---|---|---|---|---|
| Tablet | Apple iPad Pro | 12.9" | 2732 x 2048 | 264 |
| Tablet | Apple iPad Air 2 | 9.7" | 1536 x 2048 | 264 |
| Tablet | Apple iPad Mini 4 | 7.9" | 2048 x 1536 | 326 |
| Tablet | Microsoft Surface Pro 4 | 12.3" | 2736 x 1824 | 267 |
| Tablet | Amazon Fire HD 8 | 8.0" | 1280 x 800 | 189 |
| Tablet | Samsung Galaxy Tab 2 | 7.7" | 1024 x 600 | 170 |
| Tablet | Samsung Galaxy Tab 2 10.1 | 10.1" | 800 x 1280 | 149 |
| Device Type | Device Name | Display Size | Pixel Res | PPI |
|---|---|---|---|---|
| Monitor | Dell XPS 13 | 13.3" | 1920 x 1080 | 326 |
| Monitor | Apple MacBook 12-inch | 12.0" | 2304 x 1440 | 226 |
| Monitor | Apple MacBook Pro 15-inch | 15.4" | 2880 x 1800 | 220 |
| Monitor | Apple iMac 27-inch (Retina 5K Display) | 27" | 5120 x 2880 | 218 |
| Monitor | Lenovo Thinkpad X230 | 12.5" | 1366 x 768 | 125 |
| Monitor | Apple Cinema Display 30" | 30" | 2560 x 1600 | 100 |
| Monitor | Dell UltraSharp U2412M 24" | 24" | 1920 x 1200 | 94 |