Skip to content

Four-step service call timeline

A “You call, we come, quote, work done” timeline for repair services and tradespeople, with an indicative lead time per step and an emergency or appointment switch that adapts those times, without JavaScript.

  • Tailwind
  • React
  • CSS
  • WordPress
Open in a new tab

Description

No dependency and no JavaScript in HTML/CSS, Tailwind and WordPress: the four steps form an ordered list, read in order by screen readers, each with its indicative lead time. Two native radio buttons (“An urgent repair” or “Work by appointment”) switch the times shown through the CSS :has() selector; a browser without it hides the choice and keeps the emergency times. The React version does the same with state. The real text is in the HTML, so nothing flashes on load. The timeline is vertical on mobile and turns into four horizontal columns on large screens, with a line joining the discs. A closing box states that the times are indicative and offers a call (tel: link). Accessibility: a level 2 heading then a level 3 heading per step, choices grouped in a fieldset with a legend, keyboard operable (Tab then arrow keys), visible focus, 48 px targets, decorative icons hidden, contrast above 4.5:1 in light and dark modes, transitions removed with prefers-reduced-motion. Customisation: every colour goes through --fpi-* variables, --fpi-radius sets the box corners, and the data-fpi-palette="olive" or "ardoise" attribute on the section replaces the brick accent. Replace the texts, lead times and phone number with your own.

Code

Loading the code…

The code of this component in

Archive contents

features-processus-intervention-html-tailwind.zip3 files · 6 Ko

  • index.html13 Ko
  • README.md5 Ko
  • LICENSE.md1 Ko

Tags

Updated on December 2, 2026.

Reviews

No reviews yet.

In the same spirit

  • A six-cell bento grid: key figures, SVG sparklines, a quote and icons. All the text is in the HTML and the animation is CSS only, with no script at all.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Three cards in saturated flat colours (yellow, pink, electric blue) with high-contrast text and a dark variant. Every colour pair is measured at AA: 5.5:1 at worst.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Six features as frosted glass cards over a slowly drifting aurora mesh gradient. Pause button, still background under prefers-reduced-motion, CSS and a light script.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • The key message stays pinned while the background changes colour and illustration at each scroll step. CSS sticky, a light script, stacked cards as fallback under prefers-reduced-motion.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component