StealThis .dev
Pages Medium

Dental — Treatment Detail

A trust-first clear-aligner treatment page with a sticky hero, plain-language what-it-is card, an interactive step-by-step timeline, a candidacy and cost-range estimator that reacts to case complexity, an expandable FAQ accordion, and a floating book-consultation CTA — all in a clean clinical light palette with soft rounded cards and reassuring micro-interactions.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

A single-treatment detail page for a fictional clear-aligner service at Brightwater Dental. The layout leads with a reassuring hero — treatment name, a short benefits summary, trust badges, and a soft gradient smile illustration — followed by a plain-language “what it is” card and a highlight strip of key facts (duration, visits, comfort).

The core interaction is a five-step treatment timeline: clicking any step expands its detail panel and animates a progress rail, so visitors can walk through scan, plan, aligners, check-ins, and retainer at their own pace. A cost-range estimator lets users pick case complexity and number of arches; the displayed price band, monthly financing figure, and expected duration recalculate live with a subtle count-up. The FAQ is a keyboard-accessible accordion, and a floating “Book a consultation” button opens a confirmation toast.

Everything is vanilla HTML, CSS, and JS with a clinical light theme — lots of white, blue and mint accents, rounded cards, and gentle hover and focus states tuned for WCAG AA contrast and full keyboard use.

Illustrative UI only — not intended for real medical use.