-
Notifications
You must be signed in to change notification settings - Fork 0
/
loading1.html
64 lines (53 loc) · 1.03 KB
/
loading1.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<style type="text/css">
.background img {
width: 100%;
height: 100%;
}
.background.loading {
height: 420px;
width: 490px;
padding: 10px;
}
.loading {
position: relative;
background-color: #e2e2e2;
}
.loading::before {
display: block;
content: "";
position: absolute;
width: 100%;
height: 100%;
margin-top: -10px;
transform: translateX(-100%);
background: -webkit-gradient(linear, left top,
right top, from(transparent),
color-stop(rgba(255, 255, 255, .5)),
to(transparent));
background: linear-gradient(90deg, transparent,
rgba(255, 255, 255, .5), transparent);
animation: loading 1.2s infinite;
}
@keyframes loading {
100% {
transform: translateX(100%);
}
}
</style>
<div style="text-align: -webkit-center;">
<div class="background loading">
<img src="dynamicUI.svg">
</div>
<br>
<div class="background loading">
<img src="table.svg">
</div>
<br>
<div class="background loading">
<img src="plot-1.svg">
</div>
<br>
<div class="background loading">
<img src="plot-2.svg">
</div>
</div>