Advanced CSS: Layouts, Modern Features & Performance
Advanced CSS: Layouts, Modern Features & Performance
Up to 20 questions, shuffled on every run
Welcome to the Advanced CSS Quiz! Test your knowledge of modern CSS features, layout techniques, and performance optimization. This quiz covers CSS Grid, custom properties, animations, transforms, and more. Each question includes explanations to deepen your understanding. Good luck!
Answer key and explanations20 questions
The quiz above draws 20 questions at random from these 30, so a second attempt will not be the same run. Everything in the pool is listed here.
What is CSS Grid?
AnswerA two-dimensional layout system designed for creating complex rows and columns
What is CSS custom properties?
AnswerDefining reusable values using the --prefix syntax and accessing them with the var() function
What is CSS transform?
AnswerModifying an element’s visual state via rotation or scaling without affecting the DOM flow
What is CSS animation?
AnswerCreating multi-step sequences using the @keyframes rule and the animation property
What is CSS transition?
AnswerThe process of smoothly interpolating CSS property changes over a specified duration
What is stacking context?
AnswerThe three-dimensional conceptual grouping of elements that determines their z-axis order
What is BFC (Block Formatting Context)?
AnswerAn isolated layout region where internal elements do not affect the surrounding page flow
What is CSS containment?
AnswerAn optimization that limits the scope of browser styles, layouts, and paint calculations
What is will-change?
AnswerA property that informs the browser of upcoming changes to optimize rendering performance
What is subgrid?
AnswerA grid feature allowing nested containers to inherit the track definitions of the parent grid
What is aspect-ratio?
AnswerA property that sets a preferred ratio for an element, allowing it to scale proportionally
What is CSS painting performance?
AnswerThe computational cost associated with rendering visual effects like shadows and filters
What is compositing in CSS?
AnswerThe final step where the browser draws layers to the screen to create the full page
What is clip-path property?
AnswerDefining a specific region of an element to be visible while hiding the remaining area
What are media queries in CSS?
AnswerConditional rules that apply specific styles based on device characteristics and features
What is CSS specificity?
AnswerAn algorithm that determines which CSS rule is applied when multiple selectors target an element
What is the :scope pseudo-class?
AnswerA pseudo-class representing the elements that serve as the reference point for a selector
What are counter properties in CSS?
AnswerProperties used to create and maintain automatic numbering systems within a document
What is backdrop-filter property?
AnswerApplying graphical effects such as blurring or color shifting to the area behind an element
What is mix-blend-mode in CSS?
AnswerDefining how an element’s content should blend with the content of its direct background
What is the filter property in CSS?
AnswerApplying visual effects like blurring, saturation, or contrast shifts to a specific element
What is fractional unit (fr) in CSS Grid?
AnswerA flexible unit that represents a portion of the available free space in a grid container
What is minmax() function in CSS Grid?
AnswerA functional notation that defines a size range greater than or equal to min and less than or equal to max
What are named grid areas in CSS Grid?
AnswerA method for assigning names to grid sections to simplify the placement of child elements
What is text-overflow property?
AnswerSpecifying how the browser should signal that text has been clipped by its container
What is object-fit property?
AnswerDefining how the content of a replaced element, such as an image or video, should be resized
What is container queries in CSS?
AnswerA mechanism to apply styles based on the dimensions of a parent container rather than the viewport
What are CSS animation timing functions?
AnswerFunctions that define the speed curve of an animation to make transitions look more natural
What is the inset property in CSS?
AnswerA shorthand property for setting the four directional offsets of a positioned element
What is CSS Flexbox and its main alignment properties?
AnswerA one-dimensional layout model that uses justify-content and align-items for positioning








