其他分享
首页 > 其他分享> > css绘制网格背景

css绘制网格背景

作者:互联网

background-image: linear-gradient(90deg, rgba(50, 0, 0, 0.05) 3%, rgba(0, 0, 0, 0) 3%), linear-gradient(360deg, rgba(50, 0, 0, 0.05) 3%, rgba(0, 0, 0, 0) 3%);
background-size: 20px 20px;
background-repeat: repeat;
background-position: center center;

/* 主要是前两个属性的设置 */

  

标签:repeat,rgba,gradient,网格,0.05,css,background,绘制,3%
来源: https://www.cnblogs.com/dll-ft/p/12658096.html