- Esecutori
-
Impara
Impara Python Esempi eseguibili, NumPy, pandas e altro Impara l'IA / Machine LearningReti neurali, ML e LLM da zero Impara C e C++ Puntatori, memoria, STL e C++ moderno Impara C#Fondamenti, OOP, LINQ, async ed esercizi .NET Impara MatplotlibGrafici a linee, barre, dispersione e torta con visualizzatori Impara RustOwnership, trait, gestione degli errori e thread Impara GoSlice, interfacce, goroutine e canali Algoritmi Python Ricerca, ordinamento, ricorsione e visualizzazioni O(n) Algoritmi C e C++ Confronta le implementazioni in C e C++ Programmazione per bambini Impara a programmare giocando!
- QuizNuovo
- SfideNuovo
- Per docentiNuovo
- Aggiornamenti
- Offrimi un caffè
Quiz di 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.
Domanda di esempio
Domanda 1 di 10What happens on a phone if a page leaves out this tag?
<meta name="viewport" content="width=device-width, initial-scale=1">
Mostra la risposta
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.
Cosa copre questo quiz
- The viewport meta tag
- Mobile-first
min-widthqueries and their exact breakpoints - Media queries, source order and specificity
- Fluid sizes with
clamp(),%andmax-width: 100% - User preferences and container queries
Domande frequenti
Serve un account?
No. Chiunque può giocare. Accedi per salvare XP, serie, badge e cronologia.
Posso rifarlo?
Sì. Il tuo miglior punteggio resta salvato, e domande e risposte vengono mescolate ogni volta.