Ocean Alternating Timeline
Entries flipping side to side across a centre spine, with each node punched out of the rail by a background-colored ring.
- lines of CSS
- 56lines of CSS
- dependencies
- 0dependencies
- browser, for years
- Everybrowser, for years
- no motion at all
- Noneno motion at all
- FoundedTwo people, one room
- Series A$12M led by Northwind
- Public beta4,000 teams onboarded
Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.
.fx-v6-time-alt-ocean-9502 {
position: relative;
width: 300px;
margin: 0;
padding: 0;
list-style: none;
}
.fx-v6-time-alt-ocean-9502::before {
content: '';
position: absolute;
left: 50%;
top: 6px;
bottom: 6px;
width: 2px;
margin-left: -1px;
background: linear-gradient(#0ea5e9, #6366f1);
border-radius: 1px;
}
.fx-v6-time-alt-ocean-9502 li {
position: relative;
width: 50%;
padding: 0 1rem 1.1rem 0;
text-align: right;
}
.fx-v6-time-alt-ocean-9502 li:nth-child(even) {
margin-left: 50%;
padding: 0 0 1.1rem 1rem;
text-align: left;
}
.fx-v6-time-alt-ocean-9502 li::after {
content: '';
position: absolute;
top: 4px;
right: -5px;
width: 10px;
height: 10px;
border-radius: 50%;
background: #0ea5e9;
box-shadow: 0 0 0 3px #0b1120;
}
.fx-v6-time-alt-ocean-9502 li:nth-child(even)::after {
right: auto;
left: -5px;
background: #6366f1;
}
.fx-v6-time-alt-ocean-9502 b {
display: block;
font-size: 0.82rem;
color: #f1f5f9;
}
.fx-v6-time-alt-ocean-9502 span {
display: block;
margin-top: 0.15rem;
font-size: 0.72rem;
color: #64748b;
}<ol class="fx-v6-time-alt-ocean-9502">
<li>
<b>Founded</b>
<span>Two people, one room</span>
</li>
<li>
<b>Series A</b>
<span>$12M led by Northwind</span>
</li>
<li>
<b>Public beta</b>
<span>4,000 teams onboarded</span>
</li>
</ol>What do I do with this?
- Put
ocean-alternating-timeline-9503.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-v6-time-alt-ocean-9502">. 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-alternating-timeline-9503What'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-alternating-timeline-9503
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 Alternating Timeline
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.