This project is a clone of X.com, built using Tailwind CSS and HTML. The goal is to recreate the visual design and basic functionality of X.com, leveraging the utility-first CSS framework Tailwind CSS.
The X.com Clone project aims to replicate the appearance and core components of X.com. It serves as a practice project for using Tailwind CSS to build modern, responsive web interfaces.
- Responsive Design: The layout is fully responsive, ensuring compatibility across various devices and screen sizes.
- Sticky Navigation: Sticky elements that remain in view as the user scrolls.
- Interactive Components: Includes interactive components like search bars and trend items.
To get started with this project, follow the steps below:
-
Clone the repository:
git clone https://github.com/your-username/x-com-clone.git cd x-com-clone
-
Install dependencies: This project uses Tailwind CSS. Ensure you have Node.js installed, then install Tailwind CSS via npm:
npm install
-
Build Tailwind CSS:
npx tailwindcss build src/styles.css -o dist/styles.css
-
Open
index.html
in your browser: Simply open theindex.html
file in your browser to view the project.
After completing the installation steps, you can start using and modifying the project. Tailwind CSS classes are used extensively to style the components. Feel free to adjust the HTML and CSS to meet your needs.
x-com-clone/
├── dist/
│ └── styles.css # Compiled Tailwind CSS
├── src/
│ └── styles.css # Source Tailwind CSS file
├── index.html # Main HTML file
├── README.md # Project documentation
└── tailwind.config.js # Tailwind CSS configuration file