canvas {
background-color: #fff;
background-image: linear-gradient(45deg,#ccc 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ccc 0),linear-gradient(45deg,#ccc 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ccc 0);
background-position: 0 0,6px 6px,6px 6px,12px 12px;
background-size: 12px 12px;
}
キャンバス透明背景(CSSモザイク背景)
おすすめ
転載: blog.csdn.net/qq_35606400/article/details/130510283
ランキング