- Ausführende
-
Lernen
Python lernen Ausführbare Beispiele, NumPy, pandas und mehr KI / Machine Learning lernenNeuronale Netze, ML und LLMs von Grund auf C/C++ lernen Zeiger, Speicher, STL und modernes C++ C# lernenC#-Grundlagen, OOP, LINQ, Async und .NET-Übungen Matplotlib lernenLinien-, Balken-, Streu- und Kreisdiagramme mit interaktiven Visualisierungen Rust lernenOwnership, Traits, Fehlerbehandlung und Threads Go lernenSlices, Interfaces, Goroutinen und Channels Python-Algorithmen Suche, Sortierung, Rekursion und Visualisierungen O(n) C/C++-Algorithmen Implementierungen in C und C++ vergleichen Programmieren für Kinder Spielend programmieren lernen!
- QuizzeNeu
- AufgabenNeu
- Für LehrkräfteNeu
- Aktualisierungen
- Spendier mir einen Kaffee
HTML & CSS-Quiz: Flexbox
This CSS quiz tests how flexbox really distributes space. You will compute item widths from flex-grow, flex-shrink and flex-basis, choose the right alignment property for each axis, and fix the classic overflow caused by min-width: auto.
Beispielfrage
Frage 1 von 10The three children are plain <div>s. How are they laid out?
<style>
.row { display: flex; }
</style>
<div class="row">
<div>A</div>
<div>Bbbbbb</div>
<div>C</div>
</div>
Lösung zeigen
B. Side by side, each as wide as its content, starting at the left, and all as tall as the row The defaults are flex-direction: row, justify-content: flex-start, flex: 0 1 auto (no growing) and align-items: stretch. So items sit in a row at their content width and stretch to the row's height.
Darum geht es in diesem Quiz
- Flex container defaults and the main and cross axis
- Growing and shrinking with
flex-grow,flex-shrinkandflex-basis - What
flex: 1andflex: automean justify-content,align-itemsand auto margins- Wrapping,
orderand themin-width: autotrap
Häufige Fragen
Brauche ich ein Konto?
Nein. Jeder kann spielen. Mit Anmeldung werden XP, Serie, Abzeichen und Verlauf gespeichert.
Kann ich es wiederholen?
Ja. Dein Bestwert bleibt erhalten, und Fragen und Antworten werden jedes Mal neu gemischt.