Tailwind Screen Widths and Breakpoints
Learn about the utilities of responsive design by using screen widths and breakpoints.
We'll cover the following...
Overview
All the examples we have seen so far in this course have one thing in common. They are not designed to look good on smaller screens, like smartphones or tablets. The process of making a CSS design that works on multiple-sized screens is called responsive design.
In plain CSS, responsive design can be a complicated tangle of CSS classes and the @media
tags. Tailwind provides prefixes that can be applied to any Tailwind utility to control the set of screen sizes.