95 lines
1.7 KiB
CSS
95 lines
1.7 KiB
CSS
|
|
||
|
*, *:before, *:after {
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
margin:0;
|
||
|
min-height: 100vh;
|
||
|
}
|
||
|
|
||
|
.center {
|
||
|
position: absolute;
|
||
|
width: 400px;
|
||
|
height: 400px;
|
||
|
top: 50%;
|
||
|
left: 50%;
|
||
|
margin-left: -200px;
|
||
|
margin-top: -200px;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
padding: 30px;
|
||
|
color: #333;
|
||
|
}
|
||
|
.center input {
|
||
|
width: 100%;
|
||
|
padding: 15px;
|
||
|
margin: 5px;
|
||
|
border-radius: 1px;
|
||
|
border: 1px solid rgb(90, 90, 90);
|
||
|
font-family: inherit;
|
||
|
background-color: #eae9ea;
|
||
|
}
|
||
|
|
||
|
.lds-ellipsis {
|
||
|
display: block;
|
||
|
position: fixed;
|
||
|
width: 80px;
|
||
|
height: 80px;
|
||
|
top: 50%;
|
||
|
left: 50%;
|
||
|
margin-top: -40px;
|
||
|
margin-left: -40px;
|
||
|
color:rgb(130, 0, 0);
|
||
|
}
|
||
|
.lds-ellipsis div {
|
||
|
position: absolute;
|
||
|
top: 33px;
|
||
|
width: 13px;
|
||
|
height: 13px;
|
||
|
border-radius: 50%;
|
||
|
background: rgb(130, 0, 0);
|
||
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
||
|
}
|
||
|
.lds-ellipsis div:nth-child(1) {
|
||
|
left: 8px;
|
||
|
animation: lds-ellipsis1 0.6s infinite;
|
||
|
}
|
||
|
.lds-ellipsis div:nth-child(2) {
|
||
|
left: 8px;
|
||
|
animation: lds-ellipsis2 0.6s infinite;
|
||
|
}
|
||
|
.lds-ellipsis div:nth-child(3) {
|
||
|
left: 32px;
|
||
|
animation: lds-ellipsis2 0.6s infinite;
|
||
|
}
|
||
|
.lds-ellipsis div:nth-child(4) {
|
||
|
left: 56px;
|
||
|
animation: lds-ellipsis3 0.6s infinite;
|
||
|
}
|
||
|
@keyframes lds-ellipsis1 {
|
||
|
0% {
|
||
|
transform: scale(0);
|
||
|
}
|
||
|
100% {
|
||
|
transform: scale(1);
|
||
|
}
|
||
|
}
|
||
|
@keyframes lds-ellipsis3 {
|
||
|
0% {
|
||
|
transform: scale(1);
|
||
|
}
|
||
|
100% {
|
||
|
transform: scale(0);
|
||
|
}
|
||
|
}
|
||
|
@keyframes lds-ellipsis2 {
|
||
|
0% {
|
||
|
transform: translate(0, 0);
|
||
|
}
|
||
|
100% {
|
||
|
transform: translate(24px, 0);
|
||
|
}
|
||
|
}
|