Skip to content

Commit

Permalink
loading logo
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivamJoker committed Aug 31, 2019
1 parent b5c9807 commit b4470ac
Showing 1 changed file with 29 additions and 109 deletions.
138 changes: 29 additions & 109 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,136 +17,56 @@
Ylight Music - Listen to unlimited songs for free without any ads
</title>
</head>
<style>
.cssload-main {
position: absolute;
content: "";
left: 50%;
transform: translate(-100%, -240%);
}

.cssload-main * {
font-size: 62px;
}

.cssload-heart {
animation: cssload-heart 2.88s cubic-bezier(0.75, 0, 0.5, 1) infinite
normal;
top: 50%;
content: "";
left: 50%;
position: absolute;
}

.cssload-heartL {
width: 1em;
height: 1em;
border: 1px solid #e91e63;
background-color: #e91e63;
content: "";
position: absolute;
display: block;
border-radius: 100%;
animation: cssload-heartL 2.88s cubic-bezier(0.75, 0, 0.5, 1) infinite
normal;
transform: translate(-28px, -27px);
}

.cssload-heartR {
width: 1em;
height: 1em;
border: 1px solid #e91e63;
background-color: #e91e63;
content: "";
<style>
.full-page-loader {
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
position: absolute;
display: block;
border-radius: 100%;
transform: translate(28px, -27px);
animation: cssload-heartR 2.88s cubic-bezier(0.75, 0, 0.5, 1) infinite
normal;
top: 0;
right: 0;
left: 0;
bottom: 0;
}

.cssload-square {
width: 1em;
height: 1em;
border: 1px solid #e91e63;
background-color: #e91e63;
position: relative;
display: block;
content: "";
transform: scale(1) rotate(-45deg);
animation: cssload-square 2.88s cubic-bezier(0.75, 0, 0.5, 1) infinite
normal;
.full-page-loader > img {
animation: 1.8s infinite heartbeat;
}

.cssload-shadow {
top: 97px;
left: 50%;
content: "";
position: relative;
display: block;
bottom: -0.5em;
width: 1em;
height: 0.24em;
background-color: rgb(215, 215, 215);
border: 1px solid rgb(215, 215, 215);
border-radius: 50%;
animation: cssload-shadow 2.88s cubic-bezier(0.75, 0, 0.5, 1) infinite
normal;
}

@keyframes cssload-square {
50% {
border-radius: 100%;
transform: scale(0.5) rotate(-45deg);
@keyframes heartbeat {
0% {
transform: scale(1);
}
100% {
transform: scale(1) rotate(-45deg);
25% {
transform: scale(1.05);
}
}

@keyframes cssload-heart {
50% {
transform: rotate(360deg);
}
100% {
transform: rotate(720deg);
transform: scale(1);
}
}

@keyframes cssload-heartL {
60% {
transform: scale(0.4);
75% {
transform: scale(1.05);
}
}

@keyframes cssload-heartR {
40% {
transform: scale(0.4);
}
}

@keyframes cssload-shadow {
50% {
transform: scale(0.5);
border-color: rgb(228, 228, 228);
100% {
transform: scale(1);
}
}
</style>

<body style="margin: 0">
<noscript>
<h1>
Hello my smart visitor please enable javascript to make this app work
</h1>
</noscript>
<div id="root">
<div class="cssload-main">
<div class="cssload-heart">
<span class="cssload-heartL"></span>
<span class="cssload-heartR"></span>
<span class="cssload-square"></span>
</div>
<div class="cssload-shadow"></div>
<div class="full-page-loader">
<img
width="250"
src="%PUBLIC_URL%/icons/icon-512x512.png"
alt="Ylight Logo"
/>
</div>
</div>
</body>
Expand Down

0 comments on commit b4470ac

Please sign in to comment.