Process Step Connector
Three connected stages respond along a process timeline to show the next step.
Three connected stages respond along a process timeline to show the next step.
Live Demo
Hover over the element or use Tab to focus.
Source Code
Copy the HTML, CSS or JavaScript you need for your project.
<nav class="tbx-1052" aria-label="How our service works">
<a href="#tbx-1052-end" aria-label="1. Consultation"><span>01</span><b>Consultation</b></a>
<a href="#tbx-1052-end" aria-label="2. Estimate"><span>02</span><b>Estimate</b></a>
<a href="#tbx-1052-end" aria-label="3. Start"><span>03</span><b>Start</b></a>
<span id="tbx-1052-end" class="tbx-1052__sr">Here are the three stages of the process.</span>
</nav>
.tbx-1052{display:flex;align-items:flex-start;justify-content:center;width:min(307px,100%);padding:12px 0 6px;font-family:system-ui;position:relative}.tbx-1052>a{flex:1;position:relative;text-decoration:none;color:#607789;display:grid;justify-items:center;gap:9px;font-size:10px;white-space:nowrap;transition:color .3s}
.tbx-1052>a:not(:nth-child(3)):after{content:"";height:2px;position:absolute;top:21px;left:calc(50% + 23px);width:calc(100% - 46px);background:#d5e1e6;transition:background .3s}
.tbx-1052>a>span{width:45px;height:45px;display:grid;place-items:center;border:2px solid #d4e3e7;border-radius:50%;background:#f4f8f9;font-size:13px;font-weight:800;color:#496b7b;transition:border-color .3s,transform .3s,background .3s,color .3s;position:relative;z-index:1}
.tbx-1052>a b{font-size:10px;font-weight:700}.tbx-1052>a:is(:hover,:focus-visible){color:#165e6c}.tbx-1052>a:is(:hover,:focus-visible)>span{border-color:#37858b;background:#347c83;color:#fff;transform:scale(1.11)}.tbx-1052>a:is(:hover,:focus-visible):after{background:#37858b}
.tbx-1052>a:focus-visible{outline:3px solid #d3a16e;outline-offset:3px;border-radius:7px}.tbx-1052__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(prefers-reduced-motion:reduce){.tbx-1052>a,.tbx-1052>a:after,.tbx-1052>a>span{transition:none}}
How to Use
Insert the HTML and add the CSS to your stylesheet. Adjust colors and sizes and avoid class conflicts.
Use Case
Useful for service pages and guide sections.
Technical Notes
Keep controls usable on touch devices. Test keyboard focus and reduced-motion preferences.
Mobile: Ensure the interactive content remains accessible without hover on touch devices.
Browser: Uses modern CSS. Check behavior in the browsers you support.
Reduced Motion: Check that prefers-reduced-motion is respected.