mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-27 20:50:21 +08:00
36 lines
No EOL
817 B
HTML
36 lines
No EOL
817 B
HTML
<div class="container"></div>
|
|
|
|
<style>
|
|
/* From Uiverse.io by elijahgummer - Tags: simple, animation, blue, gradient, circle, transition, pattern */
|
|
.container {
|
|
width: 100%;
|
|
height: 100%;
|
|
background: lightblue;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.container::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: -50%;
|
|
left: -50%;
|
|
width: 200%;
|
|
height: 200%;
|
|
background: radial-gradient(circle, #3498db 10%, transparent 20%),
|
|
radial-gradient(circle, transparent 10%, #3498db 20%);
|
|
background-size: 30px 30px; /* Adjust the size of the pattern */
|
|
animation: moveBackground 8s linear infinite; /* Adjust the animation duration and timing function */
|
|
}
|
|
|
|
@keyframes moveBackground {
|
|
0% {
|
|
transform: translate(0, 0);
|
|
}
|
|
100% {
|
|
transform: translate(20%, 20%);
|
|
}
|
|
}
|
|
|
|
</style>
|
|
|