【发布时间】:2021-05-08 16:04:12
【问题描述】:
我在我的框中使用虚线样式边框,例如
body {
background-color: black;
}
.box {
height: 100vh;
background-image: linear-gradient(to bottom, #ffffff 10%,rgba(255, 255, 255, 0) 0%);
background-position: left;
background-size: 1px 10px;
background-repeat: repeat-y;
}
如何在点之间书写?
示例图片:
【问题讨论】:
-
我不知道你为什么需要增加点之间的空间 - 你能把它们写下来吗?