CSS
语言:
CSSSCSS
确定
body {
margin: 0;
background: #262626;
}
span {
font-family: "Montserrat", sans-serif;
}
.jump {
animation: jump 1.5s infinite ease;
}
@keyframes jump {
0% {
top: 0;
}
50% {
top: -40px;
}
100% {
top: 0;
}
}
.coin {
margin: auto;
position: absolute;
bottom: 0;
left: 0;
right: 0;
top: 0;
height: 150px;
width: 150px;
}
.coin .front,
.coin .back {
position: absolute;
height: 150px;
width: 150px;
background: #ffbd0b;
border-radius: 50%;
border-top: 7px solid #ffd84c;
b