JSDM

HTML

 
1
<div class="line"></div>

CSS

xxxxxxxxxx
31
 
1
* {
2
  margin: 0;
3
  padding: 0;
4
  box-sizing: border-box;
5
}
6
.line{
7
  position: relative;
8
  width: 400px;
9
  height: 2px;
10
  margin: 200px;
11
  overflow: hidden;
12
  transform: rotate(-30deg);
13
}
14
.line::after{
15
  content: '';
16
  width: 200%;
17
  position: absolute;
18
  left: 0;
19
  top:0;
20
  bottom:0;
21
  border-bottom:2px dashed #000;
22
  animation: 5s line linear infinite;
23
}
24
@keyframes line {
25
  0%{
26
    transform: translateX(0);
27
  }
28
  100%{
29
    transform: translateX(-50%);
30
  }
31
}
? ?
? ?
必须是有效的URL
+ 添加另一个资源

JS

x
 
1
必须是有效的URL
+ 添加另一个资源
Close

文件管理 点击文件查看URL

图片

  1. 暂无文件

CSS

  1. 暂无文件

JavaScript

  1. 暂无文件

其他

  1. 暂无文件
拖动文件到上面的区域或者:
加载中 ..................