Default Line Heights – Whats new in Tailwind CSS @TailwindLabs
Default Line Heights – Whats new in Tailwind CSS  @TailwindLabs
Uploaded December 2020 | Updated November 2026, 3 hours ago
Let's take a look at a typographic change in Tailwind CSS v2.0 — the addition of default line-heights for each value in the font-size scale. We found ourselves constantly adding the same leading class when applying a font-size class on an element, so we decided to add sensible default line-heights for each font size, which can of course be overridden with line-height utilities where needed.
Default Line Heights – Whats new in Tailwind CSSTheming Tailwind with CSS VariablesSizing Images and Videos with Aspect Ratios with Tailwind CSSUsing @apply with Complex Classes – Whats new in Tailwind CSSTailwind Talk: Rebuilding Jamons homepage with Tailwind CSSThe All-New Just-in-Time CDN — Tailwind CSS v3.0 PreviewJust-in-Time Compiler, Now in Core – Whats new in Tailwind CSSControlling Stacking Contexts with Isolation Utilities – Whats new in Tailwind CSSIntroducing Tailwind CSS v3.0Building Blurry, Animated Background Shapes with Tailwind CSS05: Composing Utilities with @apply – Tailwind CSS v2.0: From Zero to Production02: The Utility-First Workflow – Tailwind CSS v2.0: From Zero to Production
Tailwind Labs |

Default Line Heights – What's new in Tailwind CSS

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER