This project demonstrates a simple home page designed entirely using TailwindCSS. No additional CSS files are included; all styling is achieved with utility classes provided by TailwindCSS.
Ensure you have the following installed on your system:
Clone the repository:
git clone [email protected]:Youssefait-sy/Tailwindscss-Mini-Project.git
Navigate to the project directory:
cd Tailwindscss-Mini-Project
Install dependencies:
npm install
Start the development server:
npm run dev
To generate a production-ready build, run:
npm run build
Tailwindscss-Mini-Project/
├── public/ # Static assets (e.g., images)
├── src/
│ ├── index.html # Main HTML file
│ ├── main.js # JavaScript entry point
├── tailwind.config.js # TailwindCSS configuration
├── package.json # Project dependencies
└── README.md # Project documentation
This project uses TailwindCSS's utility-first approach, where all styling is done by adding pre-defined classes directly to the HTML elements. No separate CSS files are required.
<div class="flex items-center justify-center h-screen bg-gray-100">
<h1 class="text-4xl font-bold text-blue-600">Welcome to My Home Page!</h1>
</div>
This project is licensed under the MIT License.
Feel free to contribute, suggest improvements, or use this project as a base for your own TailwindCSS experiments!