自定义背景12方格平铺

2021-11-17  本文已影响0人  游侠war
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
    </head>
    <body>
        <div class="dd">

        </div>
    </body>
    <style type="text/css">
        .dd {
            background-image: linear-gradient(90deg,
                    rgba(180, 180, 180, 0.15) 1px,
                    rgba(0, 0, 0, 0) 1px),
                linear-gradient(rgba(180, 180, 180, 0.15) 1px, rgba(0, 0, 0, 0) 1px);
            background-size: 8.3% 100px;
            height: 100vh;
        }
    </style>
</html>
上一篇 下一篇

猜你喜欢

热点阅读