This project is a small demonstration of a Hero Section with modern animations. It leverages React, Tailwind CSS, and Framer Motion to create a responsive and interactive section for a webpage.
- Hero Section: Includes an introductory emoji and text, a main heading, an underline, and CTA buttons.
- Animated Cards: A background rectangle and multiple cards that animate into view when scrolled into the viewport.
- Hover Effects: Cards scale up and raise their z-index on hover, giving a dynamic feel.
- Responsive Design: The layout adapts to mobile, tablet, and desktop screens using responsive Tailwind CSS classes.
- React: For building the component structure.
- Tailwind CSS: For styling and ensuring responsiveness.
- Framer Motion: For smooth animations and interactive hover effects.
- Intersection Observer API: To trigger animations when elements enter or leave the viewport.
-
Clone the repository:
git clone https://github.com/Linchpin22/animated cd cct -
Install dependencies:
npm install # or yarn install -
Start the development server:
npm run dev # or yarn dev -
Open your browser and navigate to http://localhost:5173 to view the project.
- Hero Component: Modify the
Hero.jsxfile to change text, images, or animations. - Styling: Adjust Tailwind CSS classes to tweak colors, spacing, and layout.
- Animations: Customize Framer Motion properties (like
duration,delay,ease, etc.) to change the animation effects.
Feel free to modify this README to better fit your project details and personal style. Enjoy building your hero section!