📜  响应式渐变背景 css 代码示例

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

代码示例1
body {
  background-color: red;
}
#grad1 {
  height: 100px;
  width: 100%;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0) 49.9%, rgba(255, 255, 255, 1) 50.1%);
}