Tailwind is a utility-first CSS framework for rapidly building custom UIs. Letβs get started with the easiest setup: CDN.
You can include Tailwind in your HTML using a CDN β no npm, no build tools.
npm
and configure with tailwind.config.js
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
tailwind.config.js
to scan your HTML files.@tailwind base;
etc., then run:npx tailwindcss -i ./src/input.css -o ./dist/output.css --watch