CSS Parent Selector Quiz: Selecting a Parent li from an Active Link
Test your understanding of CSS parent selection, :has(), direct-child matching, fallbacks, and common mistakes in menus and CMS markup.
Quizzes
Choose a quiz and test your understanding of a focused concept.
Test your understanding of CSS parent selection, :has(), direct-child matching, fallbacks, and common mistakes in menus and CMS markup.
Test how to make only a CSS background transparent while keeping text and child elements fully opaque using rgba, hsla, and hex alpha.
Test your understanding of CSS split text effects, layered glyph styling, gradients, clipping, and dynamic text techniques.
Learn why CSS can't transition height:auto and how to build smooth expand/collapse effects using max-height or transform.
Test your knowledge of CSS `user-select` for disabling text highlighting on controls, tabs, links, and button-like UI elements.
Test your knowledge of horizontal centering in CSS using margin auto, Flexbox, Grid, and common centering mistakes.
Test your knowledge of using Flexbox and CSS height rules to make a div fill remaining viewport height with percentage-sized children.
Test your understanding of making a div fit its contents in CSS using inline-block, fit-content, and related layout rules.
Test your understanding of replacing HTML cellpadding and cellspacing with CSS padding and border-spacing in modern tables.
Test your understanding of CSS margin vs padding, the box model, spacing behavior, common mistakes, and practical layout use cases.