Ocean Nested Steps
Two-level plan where sub-tasks hang off a rail indented under their parent, each connected by a stub, so progress inside a phase is visible without expanding it.
- lines of CSS
- 61lines of CSS
- dependencies
- 0dependencies
- browser, for years
- Everybrowser, for years
- no motion at all
- Noneno motion at all
Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.
.fx-v10-timeline-nested-ocean-14822 {
width: 226px;
padding: 0.6rem 0.7rem;
border-radius: 0.55rem;
background: #0b1120;
border: 1px solid #1e293b;
}
.fx-v10-timeline-nested-ocean-14822 .st {
position: relative;
display: flex;
align-items: center;
gap: 0.55rem;
padding: 0.28rem 0;
}
.fx-v10-timeline-nested-ocean-14822 .st i {
position: relative;
z-index: 1;
flex: none;
width: 13px;
height: 13px;
border-radius: 50%;
background: #0b1120;
box-shadow: inset 0 0 0 2px #334155;
}
.fx-v10-timeline-nested-ocean-14822 .st.dn i {
background: linear-gradient(135deg, #0ea5e9, #6366f1);
box-shadow: none;
}
.fx-v10-timeline-nested-ocean-14822 .st.now i {
box-shadow: inset 0 0 0 2px #0ea5e9, 0 0 0 3px rgba(14,165,233, 0.22);
}
.fx-v10-timeline-nested-ocean-14822 .st b { font-size: 0.78rem; font-weight: 650; color: #e2e8f0; }
.fx-v10-timeline-nested-ocean-14822 .st:not(.dn) b { color: #94a3b8; }
.fx-v10-timeline-nested-ocean-14822 .sub {
display: grid;
gap: 0.16rem;
margin: 0.1rem 0 0.1rem 6px;
padding: 0.2rem 0 0.2rem 0.85rem;
border-left: 2px solid #1e293b;
}
.fx-v10-timeline-nested-ocean-14822 .sub span {
position: relative;
font-size: 0.71rem;
color: #64748b;
}
.fx-v10-timeline-nested-ocean-14822 .sub span::before {
content: '';
position: absolute;
left: -0.98rem;
top: 50%;
width: 7px;
height: 1.5px;
background: #1e293b;
}
.fx-v10-timeline-nested-ocean-14822 .sub .dn { color: #94a3b8; }
.fx-v10-timeline-nested-ocean-14822 .sub .dn::before { background: #6366f1; }
.fx-v10-timeline-nested-ocean-14822 .sub .ac {
color: #0ea5e9;
font-weight: 600;
}
.fx-v10-timeline-nested-ocean-14822 .sub .ac::before { background: #0ea5e9; }<div class="fx-v10-timeline-nested-ocean-14822">
<div class="st dn">
<i></i>
<b>Plan</b>
</div>
<div class="sub">
<span class="dn">Scope agreed</span>
<span class="dn">Budget signed</span>
</div>
<div class="st now">
<i></i>
<b>Build</b>
</div>
<div class="sub">
<span class="dn">Schema</span>
<span class="ac">API layer</span>
<span>Client</span>
</div>
<div class="st">
<i></i>
<b>Ship</b>
</div>
</div>What do I do with this?
- Put
ocean-nested-steps-14823.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-v10-timeline-nested-ocean-14822">. 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 ocean-nested-steps-14823What'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 ocean-nested-steps-14823
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
- Nothing animates
No animation or transition, so there is nothing to switch off.
- What it animates
- Nothing
No property is animated.
- 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
32 more effects in Timelines & Steps
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 Timelines & StepsShipping 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 Ocean Nested Steps
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.