HTML & CSS · Middle · Question 31 of 75
What's new about the @media (width >= 768px) syntax?
- ✓Correct answer: It's the range syntax from Media Queries Level 4, equivalent to
min-width - 2It's Sass syntax: browsers don't understand it without compilation
- 3It's a container query: it looks at the parent's width, not the window
Explanation
Range syntax allows comparisons: (width >= 768px), (400px <= width < 1000px). It's shorter and avoids min/max confusion at the boundaries. All modern browsers support it, and Tailwind v4 generates breakpoints in this form. Container queries are written with @container.