Welcome to my Tailwind CSS learning repository! This project showcases various experiments, examples, and exercises as I learn and explore Tailwind CSS.
To get started with the examples and exercises in this repository, you can use the CDN for quick setup:
Clone the repository:
git clone https://github.com/your-username/tailwind-learning.git
Open the HTML files in your browser to see the examples in action.
Alternatively, for more advanced usage, you can set up Tailwind CSS locally:
Install Tailwind CSS via npm:
npm install tailwindcss
Create a tailwind.config.js
file:
npx tailwindcss init
Add Tailwind to your CSS file:
@tailwind base;
@tailwind components;
@tailwind utilities;
Build your CSS with Tailwind:
npx tailwindcss build src/styles.css -o dist/styles.css
Link the generated CSS file in your HTML.
Feel free to fork the repository and contribute by adding more examples or improving existing ones. If you have any questions or suggestions, open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Happy coding!