Adaptive Layout & Responsive Layout

A quick refresher on adaptive vs. responsive layouts, how they differ, and the tech behind each.

Mar 11, 2021 · 1 min read · 181 Words · -Views -Comments · Programming
🇨🇳 阅读中文版
Read with AI

Choose an AI assistant

ChatGPT Open in a new tab with the article link and prompt
Claude Copy the prompt, then open Claude

Open Claude
Trouble reading the article?

If the prompt is missing, copy the full prompt below into your AI assistant. If the AI cannot read the article, paste the visible passage you want to discuss and add your question.

Recently, when discussing the next development of the project with the PM, we talked about mobile web pages and mobile app planning. During this discussion, we mentioned adaptive layout and responsive layout, but in the communication, I felt that these two terms seemed to be always bundled together, as if in everyone’s eyes adaptive === responsive === one codebase for all platforms.

Right? No, as a developer, I often confuse these two terms. Taking advantage of my relatively free time recently, let me organize this.

Image from here

Adaptive Web Design

  • Proposed time: 2010
  • Concept: Web design that automatically recognizes screen width and makes corresponding adjustments.

  • Implementation technology: Fixed breakpoints for layout

Responsive Web Design

  • A subset of adaptive web design
  • Concept: All devices use the same set of logic, i.e., the same set of code
  • Implementation technology mainly uses CSS media queries to adjust layout for different device types and sizes. Sometimes it also needs some JavaScript assistance, like menus.

Responsive layout has higher cost compared to adaptive because there are various device types and device resolutions.

References

Authors
Developer, digital product enthusiast, tinkerer, sharer, open source lover