Created
October 19, 2025 17:33
-
-
Save gorobey/21189c5d37a6bcc03dd2276d832b3aec to your computer and use it in GitHub Desktop.
podium
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="podium podium-silver"> | |
| <div class="circle circle-silver"></div> | |
| </div> | |
| <div class="podium podium-gold"> | |
| <div class="circle circle-gold"></div> | |
| </div> | |
| <div class="podium podium-bronze"> | |
| <div class="circle circle-bronze"></div> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| body { | |
| display: flex; | |
| justify-content: center; | |
| align-items: flex-end; | |
| height: 100vh; | |
| } | |
| .podium { | |
| width: 100px; | |
| position: relative; | |
| margin-left: 7px; | |
| border-radius: 10px; | |
| } | |
| .podium-gold { | |
| height: 160px; /* Adjust height for gold podium */ | |
| background-color: grey; | |
| } | |
| .podium-silver { | |
| height: 130px; /* Adjust height for silver podium */ | |
| background-color: grey; | |
| } | |
| .podium-bronze { | |
| height: 100px; /* Adjust height for bronze podium */ | |
| background-color: grey; | |
| } | |
| .circle { | |
| width: 70px; | |
| height: 50px; | |
| background-color: gold; | |
| border-radius: 5px; | |
| position: absolute; | |
| bottom: 100%; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| animation: bounce 0.25s infinite alternate; | |
| } | |
| .circle-silver { | |
| animation-delay: 0s; | |
| } | |
| .circle-gold { | |
| animation-delay: 0.3s; | |
| } | |
| .circle-bronze { | |
| animation-delay: 0.7s; | |
| } | |
| @keyframes bounce { | |
| 0% { | |
| bottom: 100%; | |
| height: 45px; | |
| } | |
| 50% { | |
| height: 50px; | |
| } | |
| 100% { | |
| bottom: 107%; | |
| height: 50px; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment