Spaces:
Sleeping
Sleeping
| body { | |
| width: 100wh; | |
| height: 90vh; | |
| color: #fff; | |
| background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab); | |
| background-size: 400% 400%; | |
| animation: Gradient 15s ease infinite; | |
| } | |
| @keyframes Gradient { | |
| 0% { | |
| background-position: 0% 50%; | |
| } | |
| 50% { | |
| background-position: 100% 50%; | |
| } | |
| 100% { | |
| background-position: 0% 50%; | |
| } | |
| } | |
| .glitch { | |
| color: white; | |
| font-size: 50px; | |
| position: relative; | |
| text-align: center; | |
| top: 80px; | |
| } | |
| .container { | |
| width: 200px; | |
| height: 100px; | |
| padding-top: 100px; | |
| margin: 0 auto; | |
| } | |
| .ball { | |
| width: 10px; | |
| height: 10px; | |
| margin: 10px auto; | |
| border-radius: 50px; | |
| } | |
| .ball:nth-child(1) { | |
| background: #ffffff; | |
| animation: right 1s infinite ease-in-out; | |
| } | |
| .ball:nth-child(2) { | |
| background: #ffffff; | |
| animation: left 1.1s infinite ease-in-out; | |
| } | |
| .ball:nth-child(3) { | |
| background: #ffffff; | |
| animation: right 1.05s infinite ease-in-out; | |
| } | |
| .ball:nth-child(4) { | |
| background: #ffffff; | |
| animation: left 1.15s infinite ease-in-out; | |
| } | |
| .ball:nth-child(5) { | |
| background: #ffffff; | |
| animation: right 1.1s infinite ease-in-out; | |
| } | |
| .ball:nth-child(6) { | |
| background: #ffffff; | |
| animation: left 1.05s infinite ease-in-out; | |
| } | |
| .ball:nth-child(7) { | |
| background: #ffffff; | |
| animation: right 1s infinite ease-in-out; | |
| } | |
| @keyframes right { | |
| 0% { | |
| transform: translate(-15px); | |
| } | |
| 50% { | |
| transform: translate(15px); | |
| } | |
| 100% { | |
| transform: translate(-15px); | |
| } | |
| } | |
| @keyframes left { | |
| 0% { | |
| transform: translate(15px); | |
| } | |
| 50% { | |
| transform: translate(-15px); | |
| } | |
| 100% { | |
| transform: translate(15px); | |
| } | |
| } | |