HTML & CSS · Junior · Question 74 of 75
What does class="hidden md:block" do in Tailwind?
- ✓Correct answer: Hides the element on small screens and shows it as a block from the
mdbreakpoint up - 2Shows the element only on small screens
- 3Hides the element until it is hovered
Explanation
Tailwind is mobile-first: unprefixed utilities apply everywhere, prefixed ones from that breakpoint up. md:hidden does the opposite.