Skip to content
Added 13 Aug 2026
Back to library
ocean-progress-card-12703
Ocean Progress Card
Cards

Ocean Progress Card

Course-style tile that leads with how much is left rather than what it is, the meter animating to its real position once so a reduced-motion reader still sees 44 percent.

Cardscardprogresscourseresumemediaocean
lines of CSS
57lines of CSS
dependencies
0dependencies
baseline browsers
Newlybaseline browsers
motion only on interaction
Hovermotion only on interaction
Backdrop
42m left
Advanced CSS LayoutModule 4 of 9
Open a live copy in

Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.

ocean-progress-card-12703.css
.fx-v9-card-progress-ocean-12702 {
  width: 226px;
  overflow: hidden;
  border-radius: 0.7rem;
  background: #0f172a;
  border: 1px solid #1e293b;
  transition: transform 0.26s ease, border-color 0.26s ease;
}
.fx-v9-card-progress-ocean-12702:hover { transform: translateY(-3px); border-color: #6366f1; }
.fx-v9-card-progress-ocean-12702 .cov {
  position: relative;
  height: 92px;
  background:
    radial-gradient(60% 80% at 25% 20%, rgba(14,165,233, 0.85), transparent 70%),
    linear-gradient(135deg, #6366f1, #0b1120);
}
.fx-v9-card-progress-ocean-12702 .dur {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  padding: 0.13rem 0.4rem;
  border-radius: 999px;
  font-size: 0.62rem;
  color: #e2e8f0;
  background: rgba(11,17,32,0.6);
  backdrop-filter: blur(5px);
}
.fx-v9-card-progress-ocean-12702 .bd { display: grid; gap: 0.35rem; padding: 0.7rem 0.75rem 0.8rem; }
.fx-v9-card-progress-ocean-12702 .bd b { font-size: 0.83rem; font-weight: 650; color: #f1f5f9; }
.fx-v9-card-progress-ocean-12702 .bd > span { font-size: 0.68rem; color: #64748b; }
.fx-v9-card-progress-ocean-12702 .tr {
  height: 5px;
  margin: 0.15rem 0 0.3rem;
  border-radius: 3px;
  background: #1e293b;
  overflow: hidden;
}
.fx-v9-card-progress-ocean-12702 .fl {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #0ea5e9, #6366f1);
  animation: fx-v9-card-progress-ocean-12702-fill 1.5s cubic-bezier(0.4, 0, 0.2, 1) 1 both;
}
@keyframes fx-v9-card-progress-ocean-12702-fill { from { width: 0; } to { width: 44%; } }
.fx-v9-card-progress-ocean-12702 button {
  padding: 0.42rem;
  border: none;
  border-radius: 0.4rem;
  font-size: 0.75rem;
  font-weight: 650;
  color: #0b1120;
  cursor: pointer;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  transition: filter 0.18s ease;
}
.fx-v9-card-progress-ocean-12702 button:hover { filter: brightness(1.1); }
ocean-progress-card-12703.html
<article class="fx-v9-card-progress-ocean-12702">
  <div class="cov">
    <span class="dur">42m left</span>
  </div>
  <div class="bd">
    <b>Advanced CSS Layout</b>
    <span>Module 4 of 9</span>
    <i class="tr">
      <i class="fl"></i>
    </i>
    <button>Resume</button>
  </div>
</article>

What do I do with this?

  1. Put ocean-progress-card-12703.css anywhere your page already loads CSS from — in Next.js that is app/globals.css, or any stylesheet with a <link> in your HTML.
  2. Then put the class on the element you want it on: <button class="fx-v9-card-progress-ocean-12702">. 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-progress-card-12703

What'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-progress-card-12703

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.

Was this useful?

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 width (and border-color). The browser re-lays-out the page on every frame; prefer transform if 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 width on 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

38 more effects in Cards

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 Cards

Shipping 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
Pro — $79 once

7 variations of Ocean Progress Card

Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.