This repository provides a simple HTML/CSS template to create gradient backgrounds for your web projects.
-
Customizable Colors: Easily switch the colors to match your design needs.
-
Cross-Browser Compatibility: Works smoothly across all major browsers.
-
Clone the repository:
git clone https://github.com/Paul-HenryP/gradient-background-HTML-CSS
-
Open the index.html file in your browser to see the gradient background in action.
-
Customize the Gradient:
Open index.css
Modify the background property under the .gradient class to the colors of your choice:
Example:
.gradient {
background: linear-gradient(to right, #yourcolor1, #yourcolor2);
}
- Save the changes and refresh your browser to see the updated gradient.
Feel free to submit issues or pull requests if you find any bugs or have suggestions for new features.
License This project is licensed under the MIT License - see the LICENSE file for details.