Skip to content

Commit 329bc8f

Browse files
authored
Merge pull request #15 from AMGOcyber123/main
new loader added
2 parents b4fc44d + 1a3006c commit 329bc8f

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

loading/AMGOcyber123.html

+40-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,30 @@
1010
<div class="triforce-container">
1111
<div class="triforce"></div>
1212
</div>
13-
<style>
13+
<br>
14+
<section id="loading-background">
15+
<svg version="1.1" id="L7" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 100 100"
16+
enable-background="new 0 0 100 100" xml:space="preserve">
17+
<path fill="#fb5b53"
18+
d="M31.6,3.5C5.9,13.6-6.6,42.7,3.5,68.4c10.1,25.7,39.2,38.3,64.9,28.1l-3.1-7.9c-21.3,8.4-45.4-2-53.8-23.3c-8.4-21.3,2-45.4,23.3-53.8L31.6,3.5z">
19+
<animateTransform attributeName="transform" attributeType="XML" type="rotate" dur="2s"
20+
from="0 50 50" to="360 50 50" repeatCount="indefinite" />
21+
</path>
22+
<path fill="#fb5b53"
23+
d="M42.3,39.6c5.7-4.3,13.9-3.1,18.1,2.7c4.3,5.7,3.1,13.9-2.7,18.1l4.1,5.5c8.8-6.5,10.6-19,4.1-27.7c-6.5-8.8-19-10.6-27.7-4.1L42.3,39.6z">
24+
<animateTransform attributeName="transform" attributeType="XML" type="rotate" dur="1s"
25+
from="0 50 50" to="-360 50 50" repeatCount="indefinite" />
26+
</path>
27+
<path fill="#91daffa5"
28+
d="M82,35.7C74.1,18,53.4,10.1,35.7,18S10.1,46.6,18,64.3l7.6-3.4c-6-13.5,0-29.3,13.5-35.3s29.3,0,35.3,13.5L82,35.7z">
29+
<animateTransform attributeName="transform" attributeType="XML" type="rotate" dur="2s"
30+
from="0 50 50" to="360 50 50" repeatCount="indefinite" />
31+
</path>
32+
</svg>
33+
34+
</section>
1435

36+
<style>
1537
* {
1638
box-sizing: border-box;
1739
}
@@ -97,6 +119,23 @@
97119
border-bottom-color: #91daffa5;
98120
}
99121
}
122+
123+
#loading-background {
124+
width: 100vw;
125+
height: 100vh;
126+
background: #1d2630;
127+
display: flex;
128+
justify-content: center;
129+
align-items: center;
130+
flex-direction: column;
131+
}
132+
133+
#loading-background svg {
134+
width: 100px;
135+
height: 100px;
136+
margin: 20px;
137+
display: inline-block;
138+
}
100139
</style>
101140
</body>
102141

116 KB
Loading

0 commit comments

Comments
 (0)