CSS绘制网格背景
CSS 代码
body {
background: linear-gradient(90deg, #f00 1%, transparent 0%) 0 0, linear-gradient(180deg, transparent 99%,#00f 1%) 0 0;
background-size: 100px 100px;
}
body {
background: linear-gradient(90deg, #f00 1%, transparent 0%) 0 0, linear-gradient(180deg, transparent 99%,#00f 1%) 0 0;
background-size: 100px 100px;
}
本文标题:CSS绘制网格背景
本文链接:https://www.haomeiwen.com/subject/lgrexdtx.html
网友评论