Mobile design

Terminology

Responsive Web
A Web development concept focusing on making sites look and behave optimally on all devices, from desktop to mobile, using the same served web files.
Adaptive Web
An outdated method of serving specialized content files to a browser based on the device it's running on.
Content Parity
A measure of content consistency between mobile and desktop versions of the same website.
Viewport
The viewable area of a website within the browser window.
Media Queries
A feature of CSS that enables webpage content to adapt to different screen sizes, orientations, aspect ratios and mediums (e.g. print vs screen). It does this with conditional code blocks (i.e. if statements for CSS).
Breakpoint
Points in responsive design where website presentation obviously changes due to changing viewport characteristics (width, orientation, etc).
Hamburger Menu
A button in websites and apps that typically opens up into a vertical menu or navigation drawer.
Card Pattern
A convenient means of displaying content composed of different types of objects. They are also well-suited for presenting similar objects whose size or supported actions can vary considerably, like photos with captions of variable length

Key Takeaways

There are many things to consider when designing for both mobile and desktop screens but here are the key constraints we will be focusing on in this program:


Responsive layout is all about width

Horizontal scroll bars should be avoided in most circumstances. Since screen widths will vary from 400px to at least 2000px, this constraint leads to a number of common design patterns:

Text Line length

Text is most readable at line lengths between 30 and 90 characters long. This should be a priority when planning out a design (also see the typography triad).

Layout

Responsive content often follows the card pattern in order to simplify the layouts required for varying screen widths.

Navigation

It's imperative that page navigation is not compromised at any screen width. When a screen is too narrow for a horizontal navigation menu, it will usually either:

Further Reading