Neon Constellation
Four nodes wired together by faint edges, with a bright signal running down each link in turn and every node flaring as the pulse arrives at it.
- lines of CSS
- 76lines of CSS
- dependencies
- 0dependencies
- browser, for years
- Everybrowser, for years
- stops under reduced motion
- Guardedstops under reduced motion
Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.
.fx-v14-gl-constel-15758 {
position: relative;
width: 218px;
height: 130px;
border-radius: 0.6rem;
overflow: hidden;
background: radial-gradient(85% 85% at 45% 40%, #0c1526, #05070e 78%);
box-shadow: inset 0 0 0 1px #16233c;
}
.fx-v14-gl-constel-15758 b {
position: absolute;
height: 2px;
border-radius: 1px;
background: rgba(103,232,249,0.2);
transform-origin: 0 50%;
}
.fx-v14-gl-constel-15758 b::after {
content: '';
position: absolute;
top: -3px;
left: -26px;
width: 26px;
height: 8px;
border-radius: 4px;
background: linear-gradient(90deg, rgba(34,211,238,0), #a5f3fc);
box-shadow: 0 0 14px rgba(34,211,238,0.9);
opacity: 0;
animation: fx-v14-gl-constel-15758-pulse 3.2s linear infinite;
}
.fx-v14-gl-constel-15758 .e1 { left: 26px; top: 85px; width: 71px; transform: rotate(-47.3deg); }
.fx-v14-gl-constel-15758 .e2 { left: 74px; top: 33px; width: 77px; transform: rotate(49.2deg); }
.fx-v14-gl-constel-15758 .e3 { left: 124px; top: 91px; width: 69px; transform: rotate(-41.5deg); }
.fx-v14-gl-constel-15758 .e4 { left: 74px; top: 33px; width: 103px; transform: rotate(6.7deg); }
.fx-v14-gl-constel-15758 .e5 { left: 26px; top: 85px; width: 98px; transform: rotate(3.5deg); }
.fx-v14-gl-constel-15758 .e2::after { animation-delay: 0.5s; }
.fx-v14-gl-constel-15758 .e3::after { animation-delay: 1s; }
.fx-v14-gl-constel-15758 .e4::after { animation-delay: 0.75s; }
.fx-v14-gl-constel-15758 .e5::after { animation-delay: 1.6s; }
.fx-v14-gl-constel-15758 i {
position: absolute;
width: 10px;
height: 10px;
border-radius: 50%;
background: #e0f2fe;
box-shadow: 0 0 10px rgba(56,189,248,0.75);
animation: fx-v14-gl-constel-15758-flare 3.2s ease-in-out infinite;
}
.fx-v14-gl-constel-15758 .n1 { left: 21px; top: 81px; animation-delay: 0s; }
.fx-v14-gl-constel-15758 .n2 { left: 69px; top: 29px; animation-delay: 0.45s; }
.fx-v14-gl-constel-15758 .n3 { left: 119px; top: 87px; animation-delay: 0.95s; }
.fx-v14-gl-constel-15758 .n4 { left: 171px; top: 41px; animation-delay: 1.45s; }
@keyframes fx-v14-gl-constel-15758-pulse {
0% { left: -26px; opacity: 0; }
10% { opacity: 1; }
100% { left: calc(100% - 26px); opacity: 1; }
}
@keyframes fx-v14-gl-constel-15758-flare {
0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(56,189,248,0.75); }
12% { transform: scale(1.45); box-shadow: 0 0 20px rgba(125,211,252,1); }
30% { transform: scale(1); box-shadow: 0 0 10px rgba(56,189,248,0.75); }
}
@media (prefers-reduced-motion: reduce) {
.fx-v14-gl-constel-15758,
.fx-v14-gl-constel-15758::before,
.fx-v14-gl-constel-15758::after,
.fx-v14-gl-constel-15758 *,
.fx-v14-gl-constel-15758 *::before,
.fx-v14-gl-constel-15758 *::after {
animation-duration: 1ms !important;
animation-iteration-count: 1 !important;
animation-delay: 0ms !important;
transition-duration: 1ms !important;
transition-delay: 0ms !important;
}
}<div class="fx-v14-gl-constel-15758">
<b class="e1"></b>
<b class="e2"></b>
<b class="e3"></b>
<b class="e4"></b>
<b class="e5"></b>
<i class="n1"></i>
<i class="n2"></i>
<i class="n3"></i>
<i class="n4"></i>
</div>What do I do with this?
- Put
neon-constellation-15759.cssanywhere your page already loads CSS from — in Next.js that isapp/globals.css, or any stylesheet with a<link>in your HTML. - Then put the class on the element you want it on:
<button class="fx-v14-gl-constel-15758">. The CSS does nothing until a class name in it matches something on the page.
- Link the stylesheet, then paste the markup wherever you need it.
npx hoverlab add neon-constellation-15759What's included
- The markup and the stylesheet, in whichever framework you pick
- No runtime dependencies
Works with
- React
- Vue
- Svelte
- Tailwind
- styled-components
- Plain CSS
npx hoverlab add neon-constellation-15759
Or over MCP, from your editor's agent — no account needed.
License
Free to read, copy and install, for personal and non-commercial projects. Shipping it in client work or a paid product needs Pro ($79 once). The source lands in your repo and stops being ours — no attribution, nothing to upgrade.
Motion safety
Static estimate, read from the CSS
- Reduced motion
- Guarded
Ships a
prefers-reduced-motionblock, so the loop settles into its end state for visitors who ask for less motion. - What it animates
- Reflows
Animates
left(andbox-shadow). The browser re-lays-out the page on every frame; prefertransformif you can. - Flashing (WCAG 2.3.1)
- Under 3 flashes/s
Its brightest loop is about 0.3 a second. Estimated from duration, iterations and keyframes, not from rendered frames.
- Layout shift (CLS)
- May shift layout
Animates
lefton a box in flow, so content beside or after it can move. A category from the CSS, not a measurement for this effect.
Every row is read from the shipped CSS. Only a figure marked measured came from a browser. Customizing the speed changes the timing, so recheck a customized copy. How it is computed
32 more effects in Glow & Neon
All of them free to read, copy and install — no account, no locked tiles, no watermarked preview. The whole catalog is open, and so are the API and the CLI.
Browse Glow & NeonShipping one commercially
Copying the code is free. Putting it in client work or a paid product is what Pro is for — the licence, not the access.
- A commercial licence for everything in the catalog
- Unlimited bundle exports, in Vue, Svelte and Tailwind
- One payment — no subscription, nothing to renew
7 variations of Neon Constellation
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.