Skip to content

Paul-HenryP/gradient-background-HTML-CSS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gradient Background Template

This repository provides a simple HTML/CSS template to create gradient backgrounds for your web projects.

Preview

Gradient Background Preview

Features

  • Customizable Colors: Easily switch the colors to match your design needs.

  • Cross-Browser Compatibility: Works smoothly across all major browsers.

Usage

  1. Clone the repository:

    git clone https://github.com/Paul-HenryP/gradient-background-HTML-CSS
  2. Open the index.html file in your browser to see the gradient background in action.

  3. 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);
}
  1. Save the changes and refresh your browser to see the updated gradient.

Contributing

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.