fgdgfdg
<div class="spinner-container">
<div class="spinner">
<div class="spinner-inner"></div>
</div>
</div>
<style>
.spinner-container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f0f0f0;
perspective: 800px;
}
.spinner {
width: 80px;
height: 80px;
position: relative;
transform-style: preserve-3d;
animation: rotateSpinner 2s linear infinite;
}
.spinner-inner {
position: absolute;
width: 100%;
height: 100%;
border: 8px solid rgba(0, 0, 0, 0.1);
border-top-color: #7983ff;
border-radius: 50%;
animation: spinSpinner 1s linear infinite;
}
@keyframes rotateSpinner {
0% {
transform: rotateX(0deg) rotateY(0deg);
}
100% {
transform: rotateX(360deg) rotateY(360deg);
}
}
@keyframes spinSpinner {
0% {
transform: rotateZ(0deg);
}
100% {
transform: rotateZ(360deg);
}
}
</style>