Skip to content

Instantly share code, notes, and snippets.

@gifhuppp
Created February 3, 2022 08:32
Show Gist options
  • Save gifhuppp/6af683de30bbc23c9fdb108922e1ecae to your computer and use it in GitHub Desktop.
Save gifhuppp/6af683de30bbc23c9fdb108922e1ecae to your computer and use it in GitHub Desktop.
gOGZdQm
<title> EHZ.ferniger </title> <style> h1{ color:green; } </style>

A-i Evolution


Profile

เกี่ยวกับเรา
html {
background-image: https://2.bp.blogspot.com/-EGU7lTt7shk/VqaIGsSdUEI/AAAAAAAAA1Q/dfhkIsNeY3E/s1600/flowers-banner.jpg);
overflow: hidden;
height: 100%;
}
body {
min-height: 100%;
display: grid;
place-items: center;
font-size: 3vmin;
}
.helix {
transform: rotateZ(45deg);
}
.strand {
display: flex;
align-items: center;
gap: 0.5em;
margin: 0.35em auto;
--d: calc(var(--i) / var(--total));
--color: hsl(calc(-0.05turn + (var(--d) * 0.85turn)), 95%, 75%);
--duration: 1.5s;
--delay: calc((var(--duration) * -1) + 0.1s * var(--i));
animation: var(--duration) cubic-bezier(0.4, 0, 0.6, 1) infinite;
animation-delay: var(--delay);
}
.left,
.right {
animation: inherit;
display: grid;
grid-template-areas: "layer";
align-items: center;
width: 7em;
> * {
grid-area: layer;
}
}
.left {
transform: translateZ(0px);
}
.right {
transform: scaleX(-1);
}
.dot {
animation: inherit;
animation-duration: calc(var(--duration) * 2);
width: 100%;
animation-name: move-dot;
@keyframes move-dot {
50% {
transform: translateX(200%);
}
}
--scale-start: 0.5;
--scale-end: 1;
.right & {
--scale-start: 1;
--scale-end: 0.5;
}
&::before {
display: block;
content: "";
border-radius: 50%;
width: 1em;
height: 1em;
background: var(--color);
animation: inherit;
animation-name: scale-dot;
@keyframes scale-dot {
33% {
transform: scale(var(--scale-start));
}
66% {
transform: scale(var(--scale-end));
}
}
}
}
.line {
width: calc(100% - 1.5em);
height: 0.25em;
border-radius: 1em;
background: var(--color);
margin-left: auto;
transform-origin: center right;
animation: inherit;
animation-name: scale-line;
@keyframes scale-line {
50% {
transform: scaleX(0.1);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment