HTML & CSS · Junior · Question 47 of 75
What does the md:flex class mean in Tailwind?
- 1
display: flexapplies only on screens smaller than themdbreakpoint - ✓Correct answer:
display: flexapplies on screens from themdbreakpoint and wider - 3The element gets a medium flex size
Explanation
Tailwind breakpoints are mobile-first: md: becomes @media (width >= 48rem), so the style applies from md upward. Without a prefix the style applies at all sizes. To apply a style only below a breakpoint, use max-md:.