Gyroscope Rings
Three nested gimbal rings each turning about a different axis at its own speed around a bright core, so the assembly never repeats the same silhouette twice.
- 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-3d-gyro-15750 {
display: grid;
place-items: center;
width: 168px;
height: 152px;
perspective: 640px;
background: radial-gradient(60% 60% at 50% 50%, #131c2f, #080d17 78%);
border-radius: 50%;
}
.fx-v14-3d-gyro-15750 .gy {
position: relative;
width: 118px;
height: 118px;
transform-style: preserve-3d;
}
.fx-v14-3d-gyro-15750 .gy i {
position: absolute;
border-radius: 50%;
}
.fx-v14-3d-gyro-15750 .gy .r1 {
inset: 0;
border: 3px solid #22d3ee;
animation: fx-v14-3d-gyro-15750-a 5s linear infinite;
}
.fx-v14-3d-gyro-15750 .gy .r2 {
inset: 14px;
border: 3px solid #c084fc;
animation: fx-v14-3d-gyro-15750-b 4s linear infinite;
}
.fx-v14-3d-gyro-15750 .gy .r3 {
inset: 28px;
border: 3px solid #fbbf24;
animation: fx-v14-3d-gyro-15750-c 6.5s linear infinite;
}
.fx-v14-3d-gyro-15750 .gy b {
position: absolute;
left: 50%;
top: 50%;
width: 54px;
height: 54px;
margin: -27px 0 0 -27px;
border-radius: 50%;
background: radial-gradient(circle, #e0f2fe 0 15%, rgba(125,211,252,0.6) 30%, rgba(56,189,248,0.18) 55%, rgba(56,189,248,0) 72%);
animation: fx-v14-3d-gyro-15750-core 3s ease-in-out infinite;
}
@keyframes fx-v14-3d-gyro-15750-a {
from { transform: rotateX(64deg) rotateY(0deg); }
to { transform: rotateX(64deg) rotateY(360deg); }
}
@keyframes fx-v14-3d-gyro-15750-b {
from { transform: rotateY(58deg) rotateX(0deg); }
to { transform: rotateY(58deg) rotateX(360deg); }
}
@keyframes fx-v14-3d-gyro-15750-c {
from { transform: rotateX(20deg) rotateZ(0deg) rotateY(46deg); }
to { transform: rotateX(20deg) rotateZ(360deg) rotateY(46deg); }
}
@keyframes fx-v14-3d-gyro-15750-core {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.14); }
}
@media (prefers-reduced-motion: reduce) {
.fx-v14-3d-gyro-15750,
.fx-v14-3d-gyro-15750::before,
.fx-v14-3d-gyro-15750::after,
.fx-v14-3d-gyro-15750 *,
.fx-v14-3d-gyro-15750 *::before,
.fx-v14-3d-gyro-15750 *::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-3d-gyro-15750">
<div class="gy">
<i class="r1"></i>
<i class="r2"></i>
<i class="r3"></i>
<b></b>
</div>
</div>What do I do with this?
- Put
gyroscope-rings-15751.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-3d-gyro-15750">. 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 gyroscope-rings-15751What'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 gyroscope-rings-15751
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
- Compositor only
Only
transform,opacityorfilter: the GPU can run it without re-laying-out or repainting the page. - Flashing (WCAG 2.3.1)
- No flashing found
No repeating change in opacity, colour or brightness large enough to count as a flash.
- Layout shift (CLS)
- No shift expected
Nothing it animates moves or resizes the box in flow. 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
31 more effects in 3D & Perspective
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 3D & PerspectiveShipping 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 Gyroscope Rings
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.