Question Bank
1899 approved questions from the community
What is the difference between :first-child and :first-of-type?
What is the difference between reset.css and normalize.css?
What is the purpose of the clamp() function?
What is the purpose of the @layer rule in CSS?
What is the difference between justify-content and align-items in Flexbox?
What is the purpose of the filter property?
What is tweening in CSS?
In what order does a browser match CSS selectors?
What is progressive rendering in web development?
What is the purpose of using srcset attribute for retina displays?
What is the CSSOM in relation to the DOM?
Media queries can only check for screen width and height.
CSS Grid is a two-dimensional layout system that can handle both rows and columns.
Elements with position: absolute are removed from the normal document flow.
The box-sizing: border-box property includes padding and border in the element's total width and height.
CSS variables (custom properties) are compiled at build time like preprocessor variables.
clip-path in CSS can define a visible region of an element using shapes like polygons, circles, or ellipses, and the rest of the element is hidden.
What is the difference between display: none and visibility: hidden?
Margins can collapse vertically between adjacent elements.
What is the difference between inline and inline-block?