This repository has been archived by the owner on Mar 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
loading_modern.php
87 lines (73 loc) · 2.37 KB
/
loading_modern.php
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<html>
<head>
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
</head>
<body>
<div class="mx-auto container mt-5" x-show="loadShow" >
<div class="flex flex-wrap justify-center">
<div class="mx-5 mb-5 max-w-sm rounded overflow-hidden border" >
<div id="gmbr" class="text-center overflow-hidden"></div>
<div class="w-full bg-white p-4 flex flex-col justify-between leading-normal mb-5">
<div class="h-full">
<div id="jdul" class="text-gray-900 font-bold text-xl mb-2" ></div>
<!-- <p id="txt" class="text-gray-700 text-base" ></p> -->
</div>
</div>
</div>
<div class="mx-5 mb-5 max-w-sm rounded overflow-hidden border" >
<div id="gmbr" class="text-center overflow-hidden"></div>
<div class="w-full bg-white p-4 flex flex-col justify-between leading-normal mb-5">
<div class="h-full">
<div id="jdul" class="text-gray-900 font-bold text-xl mb-2" ></div>
<!-- <p id="txt" class="text-gray-700 text-base" ></p> -->
</div>
</div>
</div>
<div class="mx-5 mb-5 max-w-sm rounded overflow-hidden border" >
<div id="gmbr" class="text-center overflow-hidden"></div>
<div class="w-full bg-white p-4 flex flex-col justify-between leading-normal mb-5">
<div class="h-full">
<div id="jdul" class="text-gray-900 font-bold text-xl mb-2" ></div>
<!-- <p id="txt" class="text-gray-700 text-base" ></p> -->
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<style>
@keyframes animate {
0% {
background-position: -468px 0
}
100% {
background-position: 468px 0
}
}
#gmbr,#jdul,#txt
{
position:relative;
background-color: #CCC;
height: 6px;
animation-name: animate;
animation-duration: 2s;
animation-iteration-count: infinite;
animation-timing-function: linear;
background: -webkit-gradient(linear, left top, right top, color-stop(8%, #eeeeee), color-stop(18%, #dddddd), color-stop(33%, #eeeeee));
background: -webkit-linear-gradient(left, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);
background: linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);
-webkit-background-size: 800px 104px;
}
#gmbr{
height: 256px;
width: 380px;
}
#jdul{
height: 20px;
}
#txt{
height: 18px;
width: 70%;
}
</style>