forked from GRA0007/crab.fit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
59 lines (56 loc) · 1.16 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
body {
width: 360px;
height: 500px;
margin: 0;
}
@keyframes load {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
#loader {
position: absolute;
top: 0;
left: 0;
width: 360px;
height: 500px;
background-color: #FFFFFF;
z-index: -1;
}
#loader::after {
content: '';
position: absolute;
top: calc(50% - 15px);
left: calc(50% - 15px);
height: 24px;
width: 24px;
border: 3px solid #F79E00;
border-left-color: transparent;
border-radius: 100px;
animation: load .5s linear infinite;
}
@media (prefers-color-scheme: dark) {
#loader {
background-color: #111111;
}
}
iframe {
height: 100%;
width: 100%;
border: 0;
}
</style>
</head>
<body>
<div id="loader"></div>
<iframe src="https://crab.fit/create" allow="clipboard-write"></iframe>
</body>
</html>