72 lines
1.3 KiB
CSS
72 lines
1.3 KiB
CSS
body {
|
|
}
|
|
|
|
.centered-spinning {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
margin-left: -50px;
|
|
margin-top: -50px;
|
|
}
|
|
|
|
.spinning {
|
|
width: 100px;
|
|
height: 100px;
|
|
background: #f00;
|
|
-webkit-animation-name: spin;
|
|
-webkit-animation-duration: 1000ms;
|
|
-webkit-animation-iteration-count: infinite;
|
|
-webkit-animation-timing-function: ease;
|
|
-moz-animation-name: spin;
|
|
-moz-animation-duration: 1000ms;
|
|
-moz-animation-iteration-count: infinite;
|
|
-moz-animation-timing-function: ease;
|
|
-ms-animation-name: spin;
|
|
-ms-animation-duration: 1000ms;
|
|
-ms-animation-iteration-count: infinite;
|
|
-ms-animation-timing-function: ease;
|
|
animation-name: spin;
|
|
animation-duration: 1000ms;
|
|
animation-iteration-count: infinite;
|
|
animation-timing-function: ease;
|
|
}
|
|
|
|
@-ms-keyframes spin {
|
|
from {
|
|
-ms-transform: rotate(0deg);
|
|
}
|
|
|
|
to {
|
|
-ms-transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@-moz-keyframes spin {
|
|
from {
|
|
-moz-transform: rotate(0deg);
|
|
}
|
|
|
|
to {
|
|
-moz-transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes spin {
|
|
from {
|
|
-webkit-transform: rotate(0deg);
|
|
}
|
|
|
|
to {
|
|
-webkit-transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
} |