Question · HTML and CSS course · Module 5: Responsiveness

Width range in media query

How do you define a width range in a media query (e.g. 600px-1024px)?

Answer options

  • @media (between: 600px, 1024px)
  • @media (width: 600px-1024px)
  • @media (min-width: 600px) and (max-width: 1024px)
  • @media (range: 600px to 1024px)

You can check the correct answer by solving this task in the CodeWorlds game.