颜色渐变
渐变背景
↓
→
↖
↗
↑
←
↙
↘
选择颜色
CSS 代码
div {
background: linear-gradient(to bottom right,lightblue, coral);
}
自己试试 »
div {
background: linear-gradient(to bottom right,lightblue, coral);
}
自己试试 »
如果您想将 W3Schools 服务用于教育机构、团队或企业,请发送电子邮件给我们
sales@w3schools.com
如果您想报告错误,或想提出建议,请发送电子邮件给我们
help@w3schools.com