重复性渐变
css
div{
background-image:linear-gradient(0deg,rgba(255,255,255,.2) 50%,transparent 50%,transparent);
background-size:37px 37px;
background-color: #EBEBEB;//按需要改动背景色
}
css
div{
background-image:linear-gradient(0deg,rgba(255,255,255,.2) 50%,transparent 50%,transparent);
background-size:37px 37px;
background-color: #EBEBEB;//按需要改动背景色
}
本文标题:当背景为两种颜色交替出现时?用重复性渐变实现
本文链接:https://www.haomeiwen.com/subject/bskdyftx.html
网友评论