CSSGradientGenerator.mp4
This project is a gradient generator built using Vite, React, and TypeScript. It allows users to dynamically generate CSS color gradients and customize their orientation.
- Generate linear or radial gradients.
- Choose the orientation of the gradient.
- Select colors using a color picker.
- View the generated CSS code.
- Clone the repository.
- Navigate to the project directory.
- Run
npm install
to install dependencies. - Run
npm run dev
to start the development server.
- Choose the orientation of the gradient by clicking on the corresponding arrow buttons or the radial button.
- Use the color pickers to select the starting and ending colors of the gradient.
- View the generated CSS code in the box below.
- Copy the CSS code and use it in your project.
- chroma-js: A library for color manipulation.
- react-color: A collection of color pickers for React.
- Vite: A next-generation frontend tooling.
- React: A JavaScript library for building user interfaces.
- TypeScript: A statically typed superset of JavaScript.