【发布时间】:2021-04-12 19:54:37
【问题描述】:
【问题讨论】:
标签: css colors background-color linear-gradients
【问题讨论】:
标签: css colors background-color linear-gradients
试试这个代码
从此页面生成https://cssgradient.io/
.ht{
background: rgb(77,77,77);
background: linear-gradient(180deg, rgba(77,77,77,1) 0%, rgba(42,42,42,1) 100%, rgba(0,212,255,1) 100%);width:500px;height:500px;
}
<div class="ht"><h1>Cool Background </h1></div>
【讨论】: