Ocean Delivery Tracker
Parcel progress with the vehicle riding the rail to the current node, both driven by the same easing so the marker and the fill arrive together.
- lines of CSS
- 99lines of CSS
- dependencies
- 0dependencies
- browser, for years
- Everybrowser, for years
- motion only on interaction
- Hovermotion only on interaction
Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.
.fx-v10-timeline-delivery-ocean-14850 {
width: 250px;
padding: 0.85rem 0.7rem 0.7rem;
border-radius: 0.55rem;
background: #0f172a;
border: 1px solid #1e293b;
}
.fx-v10-timeline-delivery-ocean-14850 .rail {
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
height: 14px;
margin: 0 6px;
}
.fx-v10-timeline-delivery-ocean-14850 .rail::before {
content: '';
position: absolute;
left: 0;
right: 0;
top: 50%;
height: 2px;
margin-top: -1px;
border-radius: 1px;
background: #1e293b;
}
.fx-v10-timeline-delivery-ocean-14850 .fill {
position: absolute;
left: 0;
top: 50%;
height: 2px;
margin-top: -1px;
border-radius: 1px;
background: linear-gradient(90deg, #06b6d4, #6366f1);
animation: fx-v10-timeline-delivery-ocean-14850-adv 1.6s cubic-bezier(0.4, 0, 0.2, 1) 1 both;
}
@keyframes fx-v10-timeline-delivery-ocean-14850-adv { from { width: 0; } to { width: 66%; } }
.fx-v10-timeline-delivery-ocean-14850 .n {
position: relative;
z-index: 1;
width: 11px;
height: 11px;
border-radius: 50%;
background: #0f172a;
box-shadow: inset 0 0 0 2px #334155;
}
.fx-v10-timeline-delivery-ocean-14850 .n.dn {
background: linear-gradient(135deg, #06b6d4, #3b82f6);
box-shadow: none;
}
.fx-v10-timeline-delivery-ocean-14850 .n.ac {
background: #6366f1;
box-shadow: 0 0 0 3px rgba(99,102,241, 0.25);
}
.fx-v10-timeline-delivery-ocean-14850 .van {
position: absolute;
top: 50%;
left: 66%;
width: 18px;
height: 11px;
margin: -14px 0 0 -9px;
border-radius: 2px 3px 2px 2px;
background: #6366f1;
animation: fx-v10-timeline-delivery-ocean-14850-roll 1.6s cubic-bezier(0.4, 0, 0.2, 1) 1 both;
}
@keyframes fx-v10-timeline-delivery-ocean-14850-roll { from { left: 0%; } to { left: 66%; } }
.fx-v10-timeline-delivery-ocean-14850 .van::before {
content: '';
position: absolute;
right: -5px;
top: 3px;
width: 6px;
height: 8px;
border-radius: 1px 2px 2px 1px;
background: #3b82f6;
}
.fx-v10-timeline-delivery-ocean-14850 .lb {
display: flex;
justify-content: space-between;
margin-top: 0.4rem;
}
.fx-v10-timeline-delivery-ocean-14850 .lb em {
width: 25%;
font-style: normal;
font-size: 0.6rem;
text-align: center;
color: #475569;
}
.fx-v10-timeline-delivery-ocean-14850 .lb em:first-child { text-align: left; }
.fx-v10-timeline-delivery-ocean-14850 .lb em:last-child { text-align: right; }
.fx-v10-timeline-delivery-ocean-14850 .lb .on { color: #6366f1; font-weight: 650; }
.fx-v10-timeline-delivery-ocean-14850 .eta {
display: block;
margin-top: 0.55rem;
padding-top: 0.5rem;
border-top: 1px solid #1e293b;
font-size: 0.72rem;
color: #e2e8f0;
}<div class="fx-v10-timeline-delivery-ocean-14850">
<div class="rail">
<i class="fill"></i>
<i class="van"></i>
<span class="n dn"></span>
<span class="n dn"></span>
<span class="n ac"></span>
<span class="n"></span>
</div>
<div class="lb">
<em>Packed</em>
<em>Sent</em>
<em class="on">In transit</em>
<em>Delivered</em>
</div>
<b class="eta">Arriving Thursday, 2–4pm</b>
</div>What do I do with this?
- Put
ocean-delivery-tracker-14851.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-delivery-ocean-14850">. 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-delivery-tracker-14851What'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-delivery-tracker-14851
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
- Brief motion, no guard
Animates briefly or on interaction. Only looping motion gets a guard in this catalog; copy the one from the Insights tab if this ships on a critical path.
- What it animates
- Reflows
Animates
left,width. The browser re-lays-out the page on every frame; prefertransformif you can. - 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)
- May shift layout
Animates
left,widthon 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 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 Delivery Tracker
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.