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