Question Bank
3705 approved questions from the community
The aspect-ratio property in CSS can maintain an element's width-to-height ratio.
Which property is used to change the cursor when hovering over an element?
What is the purpose of the @supports rule in CSS?
CSS specificity is calculated as a four-part value (a,b,c,d) where inline styles have the highest weight.
Vendor prefixes like -webkit- and -moz- are still necessary for all modern CSS features.
The gap property can be used in both Flexbox and Grid layouts.
CSS Grid's implicit grid automatically creates tracks for items that don't fit in the explicitly defined grid.
Pseudo-elements use double colons (::) while pseudo-classes use single colons (:).
What is the purpose of the clip-path property?
Which property is used to add a border around an element?
What is the purpose of the min() function in CSS?
The inherit keyword makes a property inherit its value from the parent element.
The max-width property can prevent an element from becoming too wide.
The initial keyword sets a CSS property to its default value as defined in the CSS specification.
CSS Grid's minmax() function can prevent grid tracks from collapsing while allowing them to grow.
The vertical-align property works on any element regardless of display type.
What is the purpose of the @font-face rule?
Which property is used to set the height of an element?
What is the purpose of the clamp() function?
Which property is used to create space between words?