Skip to content

manrajsandhu23/Learn-TailwindCSS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learn Tailwind CSS

Writing CSS is a bit tough, that's why this utility exists. In this repo i have added all the code and steps that i followed along learning.

Learning Sources 📝

Tailwind Official Documentation

Tailwind CSS in One Shot By Hitesh Choudhary

Installation

npx tailwindcss init

Add this in CSS Input File

@tailwind base;
@tailwind components;
@tailwind utilities;

Configuration

// update config file [content]
For adding CSS Classes
npx tailwind -i [css input file] -o [css output file] --watch
npx tailwind -i ./input.css -o ./style.css --watch