The CSS Gradient Generator is a super simple tool that lets you create cool custom gradients for your website or projects. Pick your colors, choose your gradient type, and see the magic happen live. Then, grab the CSS code and use it right away!
- Live Preview: See your gradient in action instantly.
- Custom Colors: Pick two colors to make your gradient.
- Gradient Types: Choose between
LinearorRadialgradients. - Adjustable Direction: Set the angle for linear gradients (e.g.,
90°for vertical). - CSS Code Output: Get the CSS code for your gradient and use it wherever.
Check it out here: CSS Gradient Generator
Here’s what it looks like:
- Open the CSS Gradient Generator.
- Pick two colors using the color pickers.
- Choose the gradient type (
LinearorRadial). - For linear gradients, set the direction in degrees (e.g.,
90for vertical). - Hit "Generate Gradient" and see the magic.
- Copy the CSS code from the output box and you’re good to go.
Some things we might add later:
- Support for more than two colors in gradients.
- Transparency options using RGBA.
- A "Copy CSS" button so you don’t have to manually copy.
- Advanced options for radial gradients (elliptical shapes, etc.).
Got an idea to make this better? Fork the repo, submit a PR, and we’ll check it out. Let’s make this tool even cooler together!
