Tailwind CSS 4 · Installation

Import Tailwind in your CSS

Add this line to your main CSS file to load Tailwind's styles.

@import "tailwindcss";

Official Tailwind CSS 4 documentation

More installation commands

All installation commands · Tailwind CSS 4 cheatsheet

Was this page helpful?