HTML & CSS · Junior · Question 47 of 75

What does the md:flex class mean in Tailwind?

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:.

Further reading

Problem with a question

HTML & CSS · Junior · question 47

Test yourself

Take the HTML & CSS · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz