Skip to content

Commit 56613e4

Browse files
committed
removed onload animation
1 parent 88dd998 commit 56613e4

File tree

3 files changed

+1
-47
lines changed

3 files changed

+1
-47
lines changed

css/main.css

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -72,53 +72,8 @@ a:focus {
7272
margin: -50px 0 0 -50px;
7373
border-radius: 50%;
7474
pointer-events: none;
75-
animation: loaderAnim 4s ease-in-out infinite normal forwards;
7675
}
7776

78-
@keyframes loaderAnim {
79-
80-
0% {
81-
border-radius:5% 5% 5% 5%;
82-
transform:rotate(0deg);
83-
background: #3f51b5;
84-
}
85-
12% {
86-
border-radius:50% 5% 5% 5%;
87-
transform:rotate(45deg);
88-
}
89-
25% {
90-
border-radius:50% 50% 5% 5%;
91-
transform:rotate(90deg);
92-
background: #2196f3;
93-
}
94-
37% {
95-
border-radius:50% 50% 50% 5%;
96-
transform:rotate(135deg);
97-
}
98-
50% {
99-
border-radius:50%;
100-
transform:rotate(180deg);
101-
background: #03a9f4;
102-
}
103-
62% {
104-
border-radius:5% 50% 50% 50%;
105-
transform:rotate(225deg);
106-
}
107-
75% {
108-
border-radius: 5% 5% 50% 50%;
109-
transform:rotate(270deg);
110-
background: #2196f3;
111-
}
112-
87% {
113-
border-radius:5% 5% 5% 50%;
114-
transform:rotate(315deg);
115-
}
116-
100% {
117-
border-radius:5% 5% 5% 5%;
118-
transform:rotate(360deg);
119-
background: #3f51b5;
120-
}
121-
}
12277

12378
main {
12479
overflow: hidden;

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</script>
3838
</head>
3939

40-
<body class="loading">
40+
<body>
4141
<svg class="hidden">
4242
<!-- All deco shapes -->
4343
<defs>

js/main.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@
128128

129129
const items = Array.from(document.querySelectorAll('.item'));
130130
const init = (() => items.forEach(item => new ImgItem(item)))();
131-
setTimeout(() => document.body.classList.remove('loading'), 4000);
132131
};
133132

134133
$(window).scroll(function() {

0 commit comments

Comments
 (0)