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;
}