📜  渐变 3 种颜色 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:49.006000             🧑  作者: Mango

代码示例1
div {
  background:radial-gradient(to right, #c4d7e6 0, #c4d7e6 33%, #66a5ad 33%, #66a5ad 66%, #ff0000 66%, #ff0000 100%);
  width: 100%;
  height:64px;
}