Loading tutorials
class attribute, the CSS box model, CSS units (px, rem, percentages), and that you have a project with Tailwind CSS in6 min readpx, rem, and % values, and have a project where Tailwind classes already work. It also assumes you have seen the spacing scale, where one number maps to one length. By default, 1 equals 0.25rem, so5 min readgap-* and space-* utilities. It assumes you know the spacing scale (4 is 1rem, 2 is 0.5rem) and the basics of flexbox and grid. It also assumes a project with Tailwind CSS i5 min readw-96 card overflows a 320px phone screen, and a h-40 box clips its text when the text grows. The min-* and max-* utilities set limits and let the browser choose a size inside them.5 min readclass attribute, you understand CSS units such as px and rem, and you have a project with Tailwind CSS installed. The earlier chapters covered utility-first styling and the spacing scale. This chapter covers the text-* size utilities and the line height each one s5 min readfont-* for weight and font-* for family. Both use the same prefix, but they set different CSS properties. I assume you know the class-to-CSS mapping from the first chapter and the difference between a font fil6 min readtext-xl work, including the default line height each one sets. It also assumes you can read a class list like text-sm font-medium. Here you will learn how to override the vertical rhythm of text with leading-* and the hor5 min readclass attribute, the CSS box model, and the font size, weight, and leading utilities from earlier chapters. It also assumes a project with 5 min readclass attribute, and the rem, px, and % units. It also assumes you have used w-* and max-w-* utilities from the sizing chapters. You need a project with Tailwind CSS installed.6 min readp-4 is 1rem), and have used responsive prefixes such as md:. Examples target Tailwind v3.3 or lat6 min read