This is a simple web application that allows you to easily create custom linear gradients in CSS.
-
Open the
index.html
file in your web browser. -
Choose colors for the two ends of the gradient using the color pickers.
-
Select the direction of the gradient by clicking on the corresponding buttons. You can choose from predefined directions (top, bottom, left, right) or use the rotation buttons for specific angles.
-
Click the "Generate" button to generate the corresponding CSS code for the selected gradient.
-
The generated CSS code will be displayed in the text area below the buttons. You can copy it by clicking the "Copy" button.