Question Bank

3705 approved questions from the community

The aspect-ratio property in CSS can maintain an element's width-to-height ratio.

MEDIUM
TRUE FALSE
25s
CSS
by Mohamed

Which property is used to change the cursor when hovering over an element?

EASY
SINGLE CHOICE
25s
CSS
by Mohamed

What is the purpose of the @supports rule in CSS?

MEDIUM
SINGLE CHOICE
35s
CSS
by Mohamed

CSS specificity is calculated as a four-part value (a,b,c,d) where inline styles have the highest weight.

HARD
TRUE FALSE
30s
CSS
by Mohamed

Vendor prefixes like -webkit- and -moz- are still necessary for all modern CSS features.

EASY
TRUE FALSE
20s
CSS
by Mohamed

The gap property can be used in both Flexbox and Grid layouts.

MEDIUM
TRUE FALSE
25s
CSS
by Mohamed

CSS Grid's implicit grid automatically creates tracks for items that don't fit in the explicitly defined grid.

HARD
TRUE FALSE
30s
CSS
by Mohamed

Pseudo-elements use double colons (::) while pseudo-classes use single colons (:).

EASY
TRUE FALSE
20s
CSS
by Mohamed

What is the purpose of the clip-path property?

MEDIUM
SINGLE CHOICE
30s
CSS
by Mohamed

Which property is used to add a border around an element?

EASY
SINGLE CHOICE
25s
CSS
by Mohamed

What is the purpose of the min() function in CSS?

MEDIUM
SINGLE CHOICE
30s
CSS
by Mohamed

The inherit keyword makes a property inherit its value from the parent element.

MEDIUM
TRUE FALSE
25s
CSS
by Mohamed

The max-width property can prevent an element from becoming too wide.

EASY
TRUE FALSE
20s
CSS
by Mohamed

The initial keyword sets a CSS property to its default value as defined in the CSS specification.

MEDIUM
TRUE FALSE
25s
CSS
by Mohamed

CSS Grid's minmax() function can prevent grid tracks from collapsing while allowing them to grow.

HARD
TRUE FALSE
30s
CSS
by Mohamed

The vertical-align property works on any element regardless of display type.

EASY
TRUE FALSE
20s
CSS
by Mohamed

What is the purpose of the @font-face rule?

MEDIUM
SINGLE CHOICE
30s
CSS
by Mohamed

Which property is used to set the height of an element?

EASY
SINGLE CHOICE
25s
CSS
by Mohamed

What is the purpose of the clamp() function?

MEDIUM
SINGLE CHOICE
35s
CSS
by Mohamed

Which property is used to create space between words?

EASY
SINGLE CHOICE
25s
CSS
by Mohamed
PreviousPage 150 of 186Next