Skip to content
Added 2 Sept 2026
Back to library
locked-course-steps-15807
Locked Course Steps
Timelines & Steps

Locked Course Steps

Lesson chain running from a struck-through completed step through the in-progress one with its own part-filled bar, down to a padlocked step that is still out of reach.

Timelines & Stepscourselockedlessonsgatedsteps
lines of CSS
87lines of CSS
dependencies
0dependencies
browser, for years
Everybrowser, for years
motion only on interaction
Hovermotion only on interaction
Backdrop
Anatomy of a hover6 min · complete
Easing and timing4 of 9 min
Reduced motionLocked
Open a live copy in

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

locked-course-steps-15807.css
.fx-v14-tl-course-15806 {
  width: 238px;
  color: #cbd5e1;
}
.fx-v14-tl-course-15806 .s {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0.4rem;
  border-radius: 0.4rem;
  transition: background 0.2s ease;
}
.fx-v14-tl-course-15806 .s:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 17px;
  top: 34px;
  width: 2px;
  height: 14px;
  background: #29344d;
}
.fx-v14-tl-course-15806 .ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #16203a;
  border: 1px solid #29344d;
}
.fx-v14-tl-course-15806 .done .ic { background: rgba(52,211,153,0.16); border-color: #34d399; }
.fx-v14-tl-course-15806 .now .ic { background: #0ea5e9; border-color: #38bdf8; box-shadow: 0 0 0 3px rgba(56,189,248,0.16); }
.fx-v14-tl-course-15806 .ck {
  width: 5px;
  height: 9px;
  margin-top: -2px;
  border: solid #34d399;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.fx-v14-tl-course-15806 .pl {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 8px solid #082f49;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.fx-v14-tl-course-15806 .lk {
  position: relative;
  width: 11px;
  height: 8px;
  margin-top: 3px;
  border-radius: 1px;
  background: #64748b;
}
.fx-v14-tl-course-15806 .lk::before {
  content: '';
  position: absolute;
  left: 2px;
  top: -6px;
  width: 7px;
  height: 7px;
  border: 2px solid #64748b;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}
.fx-v14-tl-course-15806 .tx { flex: 1; min-width: 0; }
.fx-v14-tl-course-15806 b { display: block; font-size: 0.7rem; font-weight: 500; }
.fx-v14-tl-course-15806 em { display: block; font-style: normal; font-size: 0.56rem; color: #64748b; }
.fx-v14-tl-course-15806 .done b { color: #94a3b8; text-decoration: line-through; }
.fx-v14-tl-course-15806 .now b { color: #f1f5f9; }
.fx-v14-tl-course-15806 .lock b, .fx-v14-tl-course-15806 .lock em { color: #475569; }
.fx-v14-tl-course-15806 .ba {
  display: block;
  height: 3px;
  margin-top: 4px;
  border-radius: 2px;
  background: rgba(148,163,184,0.2);
  overflow: hidden;
}
.fx-v14-tl-course-15806 .ba u { display: block; width: 44%; height: 100%; background: #38bdf8; }
.fx-v14-tl-course-15806 .s:hover { background: #16203a; }
.fx-v14-tl-course-15806 .lock:hover .lk, .fx-v14-tl-course-15806 .lock:hover .lk::before { background: #94a3b8; border-color: #94a3b8; }
.fx-v14-tl-course-15806 .lock:hover .lk::before { background: transparent; }
locked-course-steps-15807.html
<div class="fx-v14-tl-course-15806">
  <div class="s done">
    <span class="ic">
      <i class="ck"></i>
    </span>
    <div class="tx">
      <b>Anatomy of a hover</b>
      <em>6 min · complete</em>
    </div>
  </div>
  <div class="s now">
    <span class="ic">
      <i class="pl"></i>
    </span>
    <div class="tx">
      <b>Easing and timing</b>
      <em>4 of 9 min</em>
      <span class="ba">
        <u></u>
      </span>
    </div>
  </div>
  <div class="s lock">
    <span class="ic">
      <i class="lk"></i>
    </span>
    <div class="tx">
      <b>Reduced motion</b>
      <em>Locked</em>
    </div>
  </div>
</div>

What do I do with this?

  1. Put locked-course-steps-15807.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-v14-tl-course-15806">. 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 locked-course-steps-15807

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 locked-course-steps-15807

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
Repaints

Animates background. No reflow, but the browser repaints every frame, which is fine for one element and costly across many.

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 & Steps

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 Locked Course Steps

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