Адаптивная композиция

Мобильная версия как самостоятельный сценарий.

Designresponsivecontainer queriesmobile

Когда использовать

Adapt complex pages to small screens, touch and text enlargement.

Решения для реализации

  1. Choose breakpoints where content fails rather than by named device.
  2. Use minmax(0,1fr) and min-width:0 in flexible layouts.
  3. Collapse secondary navigation while retaining primary actions in the flow.
  4. Prefer container queries for portable components and dynamic viewport units for full-screen panels.

Как проверить результат

  • Essential controls remain visible at 360px.
  • Touch targets are generous.
  • Virtual keyboards do not trap the submit action.

Работающий пример

BEFORE

Ideas need
good form.

AFTER

Ideas need
good form.

Файлы

SKILL.mdcomponents/demos.tsx
WEBCRAFT © 2026Оригинальные исходники и интерактивные примерыMIT License