CSS Background Gradients
CSS gradients allow you to create smooth transitions between two or more colors as backgrounds. Here's an example of a linear gradient:
.box {
background: linear-gradient(to right, #ff0000, #00ff00);
}
No comments:
Post a Comment