-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
501 additions
and
38 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
<template> | ||
<div class="preloader"> | ||
<!-- todo =) --> | ||
<div class="wBall" id="wBall_1"><div class="wInnerBall"></div></div> | ||
<div class="wBall" id="wBall_2"><div class="wInnerBall"></div></div> | ||
<div class="wBall" id="wBall_3"><div class="wInnerBall"></div></div> | ||
<div class="wBall" id="wBall_4"><div class="wInnerBall"></div></div> | ||
<div class="wBall" id="wBall_5"><div class="wInnerBall"></div></div> | ||
</div> | ||
</template> | ||
|
||
<style scoped> | ||
.preloader { | ||
position: relative; | ||
display: inline-block; | ||
width: 19px; | ||
height: 19px; | ||
margin:auto; | ||
} | ||
.wBall { | ||
position: absolute; | ||
width: 16px; | ||
height: 16px; | ||
opacity: 0; | ||
transform: rotate(225deg); | ||
animation: orbit 3.6325s infinite; | ||
} | ||
.wInnerBall{ | ||
position: absolute; | ||
width: 2px; | ||
height: 2px; | ||
background: #444ce0; | ||
left:0px; | ||
top:0px; | ||
border-radius: 3px; | ||
} | ||
#wBall_1 { | ||
animation-delay: 0.796s; | ||
} | ||
#wBall_2 { | ||
animation-delay: 0.153s; | ||
} | ||
#wBall_3 { | ||
animation-delay: 0.3165s; | ||
} | ||
#wBall_4 { | ||
animation-delay: 0.4695s; | ||
} | ||
#wBall_5 { | ||
animation-delay: 0.633s; | ||
} | ||
@keyframes orbit { | ||
0% { | ||
opacity: 1; | ||
z-index:99; | ||
transform: rotate(180deg); | ||
animation-timing-function: ease-out; | ||
} | ||
7% { | ||
opacity: 1; | ||
transform: rotate(300deg); | ||
animation-timing-function: linear; | ||
origin:0%; | ||
} | ||
30% { | ||
opacity: 1; | ||
transform:rotate(410deg); | ||
animation-timing-function: ease-in-out; | ||
origin:7%; | ||
} | ||
39% { | ||
opacity: 1; | ||
transform: rotate(645deg); | ||
animation-timing-function: linear; | ||
origin:30%; | ||
} | ||
70% { | ||
opacity: 1; | ||
transform: rotate(770deg); | ||
animation-timing-function: ease-out; | ||
origin:39%; | ||
} | ||
75% { | ||
opacity: 1; | ||
transform: rotate(900deg); | ||
animation-timing-function: ease-out; | ||
origin:70%; | ||
} | ||
76% { | ||
opacity: 0; | ||
transform:rotate(900deg); | ||
} | ||
100% { | ||
opacity: 0; | ||
transform: rotate(900deg); | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.