galaxy/loaders/MiniJohan_sweet-warthog-36.html

55 lines
No EOL
1.1 KiB
HTML

<div class="coin">
<span class="engraving">$</span>
</div>
<style>
/* From Uiverse.io by MiniJohan - Tags: animation, loader, flip, gold */
.body {
display: flex;
justify-content: center;
align-items: center;
height: 100px;
margin: 0;
background-color: #f0f0f0;
}
.coin {
position: relative;
width: 100px;
height: 100px;
background-color: #d4af37; /* Coin color */
border-radius: 50%;
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3); /* Coin shadow */
background-image: radial-gradient(
circle at 50% 120%,
rgba(255, 255, 255, 0.5) 0%,
rgba(255, 255, 255, 0) 80%
); /* Coin texture */
animation: flip 1s infinite;
}
.engraving {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 50px;
font-weight: bold;
color: rgba(0, 0, 0, 0.5); /* Engraving color */
text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5); /* Engraving shadow */
}
@keyframes flip {
0% {
transform: rotateY(0deg);
}
50% {
transform: rotateY(180deg);
}
100% {
transform: rotateY(360deg);
}
}
</style>