JSDM

HTML

3
 
1
.loader
2
  - 20.times do
3
    %span
!

CSS

x
 
1
body {
2
  background: #222;
3
}
4
5
.loader {
6
  position: absolute;
7
  top: 0;
8
  left: 0;
9
  right: 0;
10
  bottom: 0;
11
  width: 190px;
12
  height: 20px;
13
  margin: auto;
14
  span {
15
    width: 2px;
16
    height: 20px;
17
    background-color: #e67e22;
18
    position: absolute;
19
    left: 0;
20
    transform-origin: center bottom;
21
    transform: rotate(-90deg);
22
    animation-name: load;
23
    animation-duration: 3s;
24
    animation-timing-function: ease;
25
    animation-iteration-count: infinite;
26
    @for $i from 1 through 20 {
27
      &:nth-child(#{$i}) {
28
        left: $i * 9 + px;
29
        animation-delay: $i * 0.05s;
30
      }
31
    }
32
  }
33
}
34
35
@keyframes load {
36
  to {
37
    transform: rotate(450deg);
38
  }
39
}
!
? ?
? ?
必须是有效的URL
+ 添加另一个资源

JS

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

文件管理 点击文件查看URL

图片

  1. 暂无文件

CSS

  1. 暂无文件

JavaScript

  1. 暂无文件

其他

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