mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 06:35:10 +00:00
47 lines
901 B
HTML
47 lines
901 B
HTML
|
<style>
|
||
|
body, html, #__nuxt {
|
||
|
background-color: <%= options.background %>;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
.spinner {
|
||
|
width: 40px;
|
||
|
height: 40px;
|
||
|
margin: 100px auto;
|
||
|
background-color: <%= options.color %>;
|
||
|
|
||
|
border-radius: 100%;
|
||
|
-webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
|
||
|
animation: sk-scaleout 1.0s infinite ease-in-out;
|
||
|
}
|
||
|
|
||
|
@-webkit-keyframes sk-scaleout {
|
||
|
0% { -webkit-transform: scale(0) }
|
||
|
100% {
|
||
|
-webkit-transform: scale(1.0);
|
||
|
opacity: 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@keyframes sk-scaleout {
|
||
|
0% {
|
||
|
-webkit-transform: scale(0);
|
||
|
transform: scale(0);
|
||
|
} 100% {
|
||
|
-webkit-transform: scale(1.0);
|
||
|
transform: scale(1.0);
|
||
|
opacity: 0;
|
||
|
}
|
||
|
}
|
||
|
</style>
|
||
|
|
||
|
<div class="spinner">
|
||
|
<div class="double-bounce1"></div>
|
||
|
<div class="double-bounce2"></div>
|
||
|
</div>
|
||
|
|
||
|
<!-- http://tobiasahlin.com/spinkit -->
|