如何使用 css 制作颜色渐变
how to make color gradients using css
如何制作颜色渐变?
这是我的代码:
<style>**strong text**
.parallax{
background-color: black;
}
<style>
像这样:
.parallax {
background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
}
如何制作颜色渐变?
这是我的代码:
<style>**strong text**
.parallax{
background-color: black;
}
<style>
像这样:
.parallax {
background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
}