Квиз по HTML & CSS: Responsive Design & Media Queries

This CSS quiz covers responsive design, from the viewport meta tag to media queries and container queries. You will predict which rules apply at a given screen width, avoid ordering traps, and size things fluidly with clamp() and max-width.

Средний 10 вопроса ~6 минуты Проходной балл: 80%

Выберите режим

Вы играете как гость: войдите, чтобы сохранить XP и серию.

Пример вопроса

Вопрос 1 из 10

What happens on a phone if a page leaves out this tag?

<meta name="viewport" content="width=device-width, initial-scale=1">
Показать ответ

B. The page is rendered at a wide virtual width (often 980px) and zoomed out, so media queries for small screens do not match Without the tag, mobile browsers lay the page out as if on a desktop-sized viewport and shrink it to fit. With width=device-width, the layout viewport matches the device so max-width: 600px queries apply.

Что проверяет этот квиз

  • The viewport meta tag
  • Mobile-first min-width queries and their exact breakpoints
  • Media queries, source order and specificity
  • Fluid sizes with clamp(), % and max-width: 100%
  • User preferences and container queries

Частые вопросы

Нужен ли аккаунт?

Нет. Играть может любой. Войдите, чтобы сохранять XP, серию, значки и историю.

Можно пройти ещё раз?

Да. Лучший результат сохраняется, а вопросы и ответы каждый раз перемешиваются.