Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

Which CSS property creates a responsive grid without media queries?

  1. A grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))
  2. B display: block
  3. C float: left
  4. D position: absolute
Answer

grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))

auto-fit with minmax lets the browser decide how many columns fit, wrapping automatically as the container width changes.

All Front end Development MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as