Skip to content

Instantly share code, notes, and snippets.

@jQsafi
Created October 16, 2025 02:41
Show Gist options
  • Select an option

  • Save jQsafi/b1e8b3c9500dfaeec985119a7cb2d1c0 to your computer and use it in GitHub Desktop.

Select an option

Save jQsafi/b1e8b3c9500dfaeec985119a7cb2d1c0 to your computer and use it in GitHub Desktop.
Frutiger Aero Card
<figure>
<figcaption>
<h1>
Frutiger Card
</h1>
<p>
Frutiger Aero; or the future that never was.
</p>
<button type="button">
Learn More
</button>
</figcaption>
</figure>
@charset "UTF-8";
*:not(head, head *, style, script, svg, svg *),
*:not(head, head *, style, script, svg, svg *)::before,
*:not(head, head *, style, script, svg, svg *)::after {
all: unset;
appearance: none;
box-sizing: border-box;
}
body,
html {
text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: transparent;
text-rendering: optimizeLegibility;
overflow: hidden;
width: 100%;
height: 100%;
}
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
margin: 0;
background: linear-gradient(
to bottom,
#fff 0%,
#fff 40%,
rgba(255, 255, 255, 0) 100%
),
linear-gradient(to right, #77ff00, #ff72b9);
position: relative;
overflow: hidden;
font: normal normal 400 16px / 150% "Orbitron", sans-serif;
}
body::before {
content: "";
position: absolute;
inset: 0;
background-image: linear-gradient(90deg, #ccc 1px, transparent 1px);
background-size: 50px 100%;
pointer-events: none;
mask-image: linear-gradient(
to bottom,
rgba(0, 0, 0, 1) 0%,
rgba(0, 0, 0, 0) 70%
);
-webkit-mask-image: linear-gradient(
to bottom,
rgba(0, 0, 0, 1) 0%,
rgba(0, 0, 0, 0) 70%
);
}
figure {
position: relative;
width: clamp(0px, 370px, calc(100% - 70px));
height: clamp(0px, 430px, calc(100% - 120px));
background-color: transparent;
z-index: 1;
}
figure::before {
position: absolute;
top: max(-15vh, -50px);
right: -50px;
width: clamp(0px, 300px, 85%);
height: clamp(0px, 300px, 75%);
background-image: radial-gradient(
circle at 50% 50%,
#77ff00,
#f8dd00,
#ffb000,
#ff841d,
#ff72b9,
#ff81ff,
#fd9eff,
#93c2ff,
#00e7ff,
#00ffff,
#00ffc3,
#4dff00
);
filter: drop-shadow(0px 10px 40px #ff81ff);
background-size: 100%;
background-position: center;
border-radius: 100%;
z-index: -1;
content: "";
}
figure::after {
position: absolute;
bottom: max(-10vh, -45px);
left: -45px;
width: clamp(0px, 150px, 50%);
height: clamp(0px, 150px, 40%);
background-image: radial-gradient(
circle at 50% 50%,
#77ff00,
#f8dd00,
#ffb000,
#ff841d,
#ff72b9,
#ff81ff,
#fd9eff,
#93c2ff,
#00e7ff,
#00ffff,
#00ffc3,
#4dff00
);
filter: drop-shadow(0px 5px 20px #ff81ff) blur(20px) saturate(1.2);
border-radius: 9999px;
pointer-events: none;
content: "";
}
figure figcaption {
position: absolute;
width: 100%;
height: 100%;
inset: 0;
background-color: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 10px;
border: 1px solid white;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: space-between;
padding: 30px;
overflow: hidden;
z-index: -1;
}
figure figcaption::before {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
filter: blur(18px);
border: 30px solid transparent;
border-image: linear-gradient(
135deg,
#77ff00,
#f8dd00,
#ffb000,
#ff841d,
#ff72b9,
#ff81ff,
#fd9eff,
#93c2ff,
#00e7ff,
#00ffff,
#00ffc3,
#4dff00
);
z-index: -1;
border-image-slice: 1;
animation: hue 2s linear infinite;
content: "";
}
@keyframes hue {
from {
filter: hue-rotate(0deg) blur(18px);
}
to {
filter: hue-rotate(360deg) blur(18px);
}
}
figure figcaption::after {
position: absolute;
top: -20px;
right: -20px;
width: 60px;
height: 60px;
background-color: red;
border-radius: 10px;
box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px,
rgba(6, 24, 44, 0.65) 0px 4px 6px -1px,
rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
mix-blend-mode: exclusion;
content: "";
z-index: 2;
}
figure figcaption h1 {
font-family: "Zen Dots", sans-serif;
font-size: 200%;
line-height: 100%;
color: white;
font-weight: 600;
line-height: 110%;
text-shadow: 1px 1px 10px dodgerblue, 1px 1px 20px dodgerblue;
letter-spacing: 1px;
margin-bottom: 15px;
}
figure figcaption p {
position: relative;
padding: 15px 20px;
border: 2px solid white;
background-color: rgba(255, 255, 255, 0.5);
border-radius: 20px;
box-shadow: 0px 3px 0px dodgerblue;
color: #888;
letter-spacing: 1px;
}
figure figcaption p::after {
position: absolute;
top: -10px;
right: -10px;
width: 30px;
height: 30px;
border: 2px solid dodgerblue;
content: "";
z-index: 2;
border-radius: 9999px;
}
figure figcaption button {
align-self: flex-end;
margin-top: 20px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 10px 25px;
border: 2px solid white;
border-radius: 10px;
color: dodgerblue;
font-weight: 900;
box-shadow: 0px 5px 0px white;
cursor: pointer;
transition: all 0.3s ease;
}
figure figcaption button:hover {
border: 2px solid dodgerblue;
box-shadow: 0px 5px 0px dodgerblue;
transition: all 0.3s ease;
}
figure figcaption button:active {
box-shadow: 0px 0px 0px white;
transform: translateY(3px);
transition: all 0.3s ease;
}
@media (max-height: 400px) {
figure {
height: clamp(0px, 430px, calc(100% - 75px));
}
}
@media (max-height: 350px) {
figure {
height: clamp(0px, 430px, calc(100% - 40px));
}
}
@jQsafi

jQsafi commented Oct 16, 2025

Copy link
Copy Markdown
Author

Likely pure implementation of creativity. Appeal to designer to produce less colored design that can boost contrast.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment