- 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: Modern CSS
This CSS quiz covers features that now work in every major browser: :has(), container queries, native nesting, clamp(), aspect-ratio, logical properties and cascade layers. The questions focus on the details that trip people up in real code.
Domanda di esempio
Domanda 1 di 10Which elements does this selector match?
.card:has(img) { padding: 0; }
Mostra la risposta
C. Cards that contain an img anywhere inside them :has() matches the element before it when the selector inside matches relative to it, here any descendant img. The style applies to the card, not the image. :has() is supported in all major browsers.
Cosa copre questo quiz
- The
:has()relational selector - Container queries and
container-type - Native CSS nesting and how it differs from Sass
clamp()andaspect-ratiocalculations- Logical properties,
insetand@layer
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.