Ocean Gantt Bars
Schedule rows offset by margin and sized by width, over a gridline background positioned to start where the track does.
- lines of CSS
- 33lines 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-v7-time-gantt-ocean-10810 {
width: 292px;
padding: 0.9rem;
border-radius: 0.65rem;
background: #111827;
border: 1px solid #1f2937;
background-image: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(148,163,184,0.1) calc(25% - 1px) 25%);
background-position: 82px 0;
background-size: calc(100% - 96px) 100%;
background-repeat: no-repeat;
}
.fx-v7-time-gantt-ocean-10810 .r {
display: grid;
grid-template-columns: 70px 1fr;
align-items: center;
gap: 0.75rem;
}
.fx-v7-time-gantt-ocean-10810 .r + .r { margin-top: 0.6rem; }
.fx-v7-time-gantt-ocean-10810 span {
font-size: 0.72rem;
color: #94a3b8;
}
.fx-v7-time-gantt-ocean-10810 i {
display: block;
height: 16px;
border-radius: 0.25rem;
transition: filter 0.18s ease;
}
.fx-v7-time-gantt-ocean-10810 i:hover { filter: brightness(1.15); }
.fx-v7-time-gantt-ocean-10810 .b1 { margin-left: 0; width: 42%; background: linear-gradient(90deg, #06b6d4, #3b82f6); }
.fx-v7-time-gantt-ocean-10810 .b2 { margin-left: 28%; width: 44%; background: linear-gradient(90deg, #3b82f6, #6366f1); }
.fx-v7-time-gantt-ocean-10810 .b3 { margin-left: 55%; width: 45%; background: linear-gradient(90deg, #6366f1, #06b6d4); }
.fx-v7-time-gantt-ocean-10810 .b4 { margin-left: 78%; width: 22%; background: linear-gradient(90deg, #06b6d4, #6366f1); }<div class="fx-v7-time-gantt-ocean-10810">
<div class="r">
<span>Research</span>
<i class="b1"></i>
</div>
<div class="r">
<span>Design</span>
<i class="b2"></i>
</div>
<div class="r">
<span>Build</span>
<i class="b3"></i>
</div>
<div class="r">
<span>QA</span>
<i class="b4"></i>
</div>
</div>What do I do with this?
- Put
ocean-gantt-bars-10811.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-v7-time-gantt-ocean-10810">. 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-gantt-bars-10811What'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-gantt-bars-10811
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
- 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
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 Gantt Bars
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.