A CSS framework that uses modular utility components to create intricate designs very fast. All of the css will be classes inside of your HTML tags. Should be used with ReactJS
Installation (With ReactJS)
npm i tailwindcss postcss autoprefixer
npx tailwindcss init -p
- Change
tailwind.config.js
to have:
- Clear the contents of
index.css and app.css
- In your
index.css
, add the following to the top:
- in package.json, add the command:
- Run
npm run start
- in
main.jsx
, make the courseoutput.css
instead ofindex.css
- in app.jsx , make the main div:
CDN Installation
index.html