anya-ji's picture
Add files using upload-large-folder tool
646ba5f verified
Raw History Blame Contribute Delete
1.18 kB
<!DOCTYPE html>
<html>
<head>
<style>.container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden; }
.circle {
width: 40px;
height: 40px;
margin: 25px;
animation: float 1s infinite cubic-bezier(0.25, 0.1, 0.24, 1.25);
border-radius: 100%; }
.circle-1 {
background-color: #49b8e5;
animation-delay: 100ms; }
.circle-2 {
background-color: #1ea7d4;
animation-delay: 200ms; }
.circle-3 {
background-color: #2a92d0;
animation-delay: 300ms; }
.circle-4 {
background-color: #3a88c8;
animation-delay: 400ms; }
.circle-5 {
background-color: #507cbe;
animation-delay: 500ms; }
@keyframes float {
0% {
transform: translateY(0px); }
50% {
transform: translateY(40px); }
100% {
transform: translateY(0px); } }
@media (max-width: 500px) {
.circle {
width: 1em;
height: 1em;
margin: 10px; } }
</style>
</head>
<body>
<div class="container">
<div class="circle circle-1"></div>
<div class="circle circle-2"></div>
<div class="circle circle-3"></div>
<div class="circle circle-4"></div>
<div class="circle circle-5"></div>
</div>
<script></script>
</body>
</html>