Quiz di CSS Basics

The core of CSS: how selectors match, which rule wins, how boxes are sized, the units and colors you write every day, and how display and position place elements.

Principiante 5 quiz · 50 domande circa 30 minuti
0/5superati Esame di categoria 20 domande miste. Con l'80% ottieni un certificato.
Tag:
1 CSS Selectors Facile Match the right elements with type, class, id, attribute and combinator selectors. #selectors#combinators#pseudo-classes 10 domande · ~5 min Da iniziare Inizia
2 Specificity & the Cascade Difficile Work out which CSS rule wins when several match, from specificity to !important and layers. #specificity#cascade#inheritance 10 domande · ~8 min Da iniziare Inizia
3 The Box Model Medio Compute element sizes from content, padding, border and margin, and predict margin collapse. #box-model#box-sizing#margin-collapse 10 domande · ~6 min Da iniziare Inizia
4 Units & Colors Facile Convert between px, em, rem, %, vw and vh, and read hex, rgb and hsl colors. #units#colors 10 domande · ~5 min Da iniziare Inizia
5 display & position Medio Predict how block, inline, inline-block and none behave, and where positioned elements end up. #display#position 10 domande · ~6 min Da iniziare Inizia