A modern, responsive web animation project built with React and Vite, featuring complex CSS animations and a modular component architecture.
This project renders a dynamic, animated floral scene using purely CSS animations for movement and growth effects. Originally a static HTML/CSS project, it has been modernized into a React application to improve maintainability, performance, and scalability.
Key Features:
- Component-Based Architecture: Scalable React components for
Flower,Grass, andLeaves. - High-Performance Animations: Optimized CSS keyframes for smooth rendering (60fps).
- Responsive Design: Uses relative units (
vmin) to adapt to any screen size. - Modular Styles: CSS architecture organized for clarity and reuse.
- React 19 - UI Library
- Vite - Build Tool & Dev Server
- CSS3 - Styling & Animations
- ESLint - Code Quality
-
Clone the repository:
git clone https://github.com/Kromilla/Flowers.git cd Flowers -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Build for production:
npm run build
src/
├── assets/ # Static assets
├── components/ # Reusable React components
│ ├── Flower.jsx # Main flower logic
│ └── Grass.jsx # Grass variations
├── App.jsx # Main application entry
├── main.jsx # DOM rendering
└── index.css # Global styles and animations
This project is open source and available under the MIT License.