How to Design a Website Timeline That Still Reads Well on Mobile

by | Dec 5, 2026 | Layout | 0 comments

good timeline design on a website starts with the content, not the graphics. Pick a vertical timeline for company history and keep each entry to a date, a short title and one or two sentences. Show the milestones that changed the business, not every event. Reserve horizontal layouts for a small, fixed number of steps, and decide before you build what happens on a 360-pixel phone screen, because that is where most timelines break.

This guide covers the layouts, the editorial choices, date labels and spacing, the mobile problem, animation, the build options and how to check that people actually read the result.

How a website timeline works

There’s no special “timeline” tag in HTML (HyperText Markup Language, the code that structures a page). A timeline is an ordered list of events in chronological order, styled with CSS (Cascading Style Sheets, the code that controls layout and looks).

The vertical line is usually a pseudo-element, a decorative shape drawn by CSS rather than written in the content. Each dot or icon is a marker positioned on that line, and each card holds the date, the title and a brief description.

That mechanism explains most good and bad timelines. Because the content is a plain list, screen readers announce it as “list, 8 items” and search engines read it as text. Because the axis is decoration, you can rotate it, hide it or restack it at any screen width without touching the content. Problems start when designers build it the other way round: dates baked into an image, or events loaded by a script only after a click.

So the sound base is an <ol> (ordered list) with one <li> per milestone, and each date wrapped in a <time> element. The Mozilla Developer Network (MDN Web Docs) documents its datetime attribute, which takes a machine-readable value such as 2014 or 2014-06. The visible label can still say “Summer 2014”.

company history timeline

Choosing the timeline design for your website: vertical, horizontal or alternating

Most timeline designs come in four different styles.

A vertical timeline stacks entries down the page with the line on the left. An alternating timeline puts the line in the centre and places cards left and right in turn. A horizontal timeline runs entries along a row, like a roadmap or progress tracker. A scroll-triggered timeline is any of these with entries that appear or animate as the reader scrolls.

Material UI, a library of ready-made user interface parts for React, shows the same family in code. Its Timeline component offers a basic timeline, a left-positioned one, an alternating one and a reverse alternating one. An “opposite content” option puts the date on the other side of the line from the text.

Your situation Use Avoid
Company history on an About page, 6 to 15 milestones, a paragraph each Vertical timeline, line on the left Horizontal row: it cannot give each entry room
Short brand story, 4 to 6 big moments with photos Alternating layout on desktop that collapses to one column on mobile Keeping the zigzag on phones, where it halves the text width
Process or onboarding, 3 to 6 fixed steps Horizontal steps that turn vertical on small screens Long descriptions inside each step
Product roadmap by quarter Horizontal track, or a vertical list grouped by quarter Exact dates you can’t promise
Decades of history with uneven gaps Proportional “decade axis” on desktop, plain list on mobile Even spacing that makes 1991 and 2011 look one step apart
Hundreds of events, archive or research project A dedicated timeline tool with zoom and filters Hand-coding every entry into the About page

The test that settles most cases is simple. Horizontal suits progress through a known, small number of stages. Vertical suits history, where entries keep arriving and nobody knows how many there will be. A horizontal row also struggles once an entry needs more than about fifteen words.

For a company history page, our default recommendation is the vertical layout. It’s the only one that survives a growing list, long text and a narrow screen without a separate mobile design.

picking milestones how many before readers lose interest

Picking milestones: how many before readers lose interest

No study sets a magic number, so treat this as a working rule rather than a norm. On an About page, a common starting point is 6 to 10 milestones. In our view, beyond about 12 entries readers start skimming, and the timeline turns into a list of dates instead of a story.

The fix is selection, not smaller type. Keep an event only if it changed what the company does, who it serves or how big it is. Founding, first product, first office abroad, a merger, a rebrand with a new logo and a major award usually qualify. A new coffee machine doesn’t, even if the team loved it.

Each entry needs three things and rarely more:

  • a date or period;
  • a short title, ideally a verb phrase such as “Opened the Lyon studio”;
  • one or two sentences that say why it mattered.

When you have more material than that, group it by era. Three chapters such as “Garage years”, “Growth” and “Today” give the reader a narrative arc, and each chapter can hold three or four milestones.

This also answers a frequent wish: a timeline where you see the big periods first, then open one to see the detail. You don’t need a zoomable canvas for that. A heading per era with expandable entries, built with the native <details> element, delivers most of the effect.

Two editorial habits make the content more engaging. Write titles in the past tense with a concrete subject. Then end with the present or a near-future goal, so the timeline leads into what the company does now instead of stopping at an old date.

Date labels, spacing and visual elements

The date is what readers scan first, so it deserves the strongest visual weight after the title. Set it in a bold or larger font, keep one format throughout (“2016” or “March 2016”, not both), and use ranges like “2015–2018” for periods. Placing the date on the opposite side of the line from the card, the “opposite content” pattern, works well on desktop and frees the card for text.

Spacing decides whether the timeline reads as a sequence or a pile. Two approaches exist:

  • Even spacing: every entry gets the same gap. It’s simple and suits most company histories.
  • Proportional spacing: markers sit at their true position on a dated axis, so 1991 and 1993 stay close together. It tells the truth about time, but it only works on wide screens.

As a starting point, we suggest a gap between entries of roughly twice the body line height, which keeps cards distinct without wasting space. To our eye, a line of 2 to 4 pixels stays visible without competing with the text. unlv.edu published something useful on the subject.

Icons, color and illustration help when they carry meaning. A color scheme can separate categories, such as product launches in one color and company events in another, and icons can do the same at a glance. Keep it to two or three categories. Beyond that, readers need a legend, and a timeline with a legend has become an infographic.

Contrast is where decorative timelines often fail. WCAG 2.2 (the W3C’s Web Content Accessibility Guidelines) asks for a contrast ratio of at least 4.5:1 for normal text in success criterion 1.4.3. Criterion 1.4.11 asks for 3:1 for graphical objects needed to understand the content.

Pale grey dates and a faint line usually miss both. Photos also need alt text that describes what they show, such as “first workshop in 2009”, not “timeline image”.

making a timeline readable on mobile

Making a timeline readable on mobile

A responsive timeline adapts its layout to the screen, and this is where most horizontal timelines break. A row of five dated steps cannot fit a 360-pixel screen and stay readable, and shrinking the text until it fits is not a solution. WCAG 2.2 success criterion 1.4.10 (Reflow) sets the reference point: content should stay usable at a width of 320 CSS pixels without scrolling in two directions.

That leaves three honest answers:

  1. Rotate to vertical. The same markup switches from a row to a column at a breakpoint, which is the screen width where the layout changes. This is the best default.
  2. Scroll horizontally with snapping. Keep the axis, let it overflow sideways, and use CSS scroll-snap-type: x mandatory so each card lands cleanly. It suits visual entries, such as photos or product shots, but hides content off-screen.
  3. Restack into a list. Drop the axis below the breakpoint and show the entries as a plain list. It’s the right call for a proportional axis, which means nothing at 360 pixels.

Here is the core of option 1 in plain CSS. The list is a column by default, the mobile-first approach, and becomes a row on wider screens:

.timeline { display: flex; flex-direction: column; list-style: none; padding: 0; }
.timeline li { position: relative; padding-left: 1.5rem; border-left: 3px solid #555; }
@media (min-width: 768px) {
  .timeline { flex-direction: row; }
  .timeline li { flex: 1; border-left: 0; border-top: 3px solid #555; padding: 1.5rem 0.5rem 0; }
  .timeline li:first-child { border-image: linear-gradient(to right, transparent 50%, #555 50%) 1; }
  .timeline li:last-child { border-image: linear-gradient(to left, transparent 50%, #555 50%) 1; }
}

The last two rules trim the line at the first and last dots. Without them the track sticks out past the ends, which is a common giveaway of a hand-built horizontal timeline. If your dots sit at the centre of each item, this half-trim is what you need. The 768-pixel breakpoint is only a starting point; pick the width at which your own cards stop fitting.

Alternating layouts need the same care. On a phone, collapse them to a single column with the line on the left, and keep the date above the text rather than beside it. Dots that open a detail panel need a touch target of at least 24 by 24 CSS pixels, the minimum in WCAG 2.2 criterion 2.5.8.

Animation and interactivity without hurting readers

Scroll-triggered effects, where each card fades or slides in as it enters the screen, make a timeline feel dynamic. They also create the three most common timeline bugs. Best Time Line Websites tackles the same question from another angle.

First, content that starts invisible and waits for a script can stay invisible for search engines. Google’s Search Central documentation on lazy loading says Google doesn’t interact with pages the way a person does. Content that only loads after a click or a swipe may therefore stay invisible to it. Put every milestone in the HTML and use animation only to reveal what is already there.

Second, motion bothers some readers. Wrap the animation in a prefers-reduced-motion media query, so visitors who’ve asked their system for less motion get the static version. Auto-advancing history sliders have a stricter rule. Under WCAG criterion 2.2.2 (Pause, Stop, Hide), anything that moves automatically for more than five seconds needs a way to pause it.

Third, entries that jump into place shift the page. Google’s Core Web Vitals measure that movement as Cumulative Layout Shift, and web.dev counts a score of 0.1 or less as good. Animate opacity and transform instead of height or margins, and reserve the space for images with width and height attributes.

Interactive elements are worth adding when they answer a real question. Expandable entries, a filter by category or a link from each milestone to a case study all help. A zoomable canvas rarely does on a company site, because readers came to understand the company, not to explore an interface.

Building it: code, WordPress plugin, React component or embed

The right build depends on who will update the timeline and how often. You can hand-code a history page that changes once a year. A roadmap that the marketing team edits monthly needs an editor they’re comfortable with. Interactive Timeline Component covers this in more depth.

Approach Cost Time Skill Watch out for
Hand-coded HTML and CSS Free A few hours Front-end basics Every edit needs someone who can touch code
WordPress timeline plugin Free or paid tiers An hour or less None Extra scripts, and customization limited to what the plugin allows on mobile
React component Free (open source) A few hours React developer Only fits sites already built in React
Embedded timeline maker Free to paid plans Under an hour None Content in an iframe, from another server

WordPress

As far as we know, core WordPress ships no dedicated timeline block, so you have two routes. Without a plugin, add a List block set to ordered and put the date in bold at the start of each item. Then add a CSS class in the block’s Advanced panel so the theme’s stylesheet can draw the line.

With a plugin, options such as Timeline Express or Cool Timeline add a timeline post type or block with drag-and-drop ordering and several layouts, including animated vertical timelines. Elementor users can find timeline widgets in add-on packs. Before choosing, preview the demo on a phone, since that’s where plugin layouts differ most.

React

At the time of writing, Material UI publishes Timeline in its @mui/lab package, so check the documentation for your version. You import Timeline, TimelineItem, TimelineSeparator, TimelineDot, TimelineConnector and TimelineContent, then set position="alternate" or position="left" on the parent. For mobile, switch the position prop to a single side below your breakpoint rather than relying on the alternating default.

Embedded tools

Knight Lab’s open-source TimelineJS builds an interactive timeline with media from a Google Sheets spreadsheet and gives you code to embed it. It’s a strong fit for storytelling that needs to showcase images and video.

The trade-off is that the text lives inside an iframe served from another domain, so don’t count on it as your page’s own content for SEO (search engine optimization). Any embed that loads third-party scripts also belongs in your cookie and consent review if you serve visitors in the EU under the GDPR (General Data Protection Regulation).

Ready-made timeline templates exist for most website builders, from free to premium. They’re useful as a layout reference, but replace their sample milestones entirely; a template’s placeholder story reads as filler the moment a visitor notices it.

Five mistakes that break a timeline

  • The line overshoots the first and last dots. Cause: the connector spans the full width of every item. Fix: trim the end items to half width, as in the CSS above.
  • Dates are unreadable on a phone. Cause: a horizontal row scaled down to fit. Fix: rotate to vertical or restack below the breakpoint.
  • Cards stay blank for some visitors. Cause: entries start at zero opacity and wait for a script that fails or is blocked. Fix: show content by default and add the animation class with JavaScript.
  • Readers stop halfway. Cause: too many milestones of equal weight. Fix: cut to the events that changed the company, then group the rest by era.
  • The timeline goes stale. Cause: it ends three years ago because nobody owns it. Fix: give one person the job of adding a milestone after each major event, and pick a build that person can edit.
measuring whether anyone reads it

Measuring whether anyone reads it

A timeline earns its space if visitors reach it and keep going. In Google Analytics 4, enhanced measurement records a scroll event when a visitor reaches 90% of the page depth. That tells you whether people finish the About page. For detail on the timeline itself, a heatmap and session-recording tool such as Microsoft Clarity shows where scrolling stops and which entries get clicked.

If entries expand or link to case studies, track those clicks as events. Review the numbers each quarter. If most readers stop before the fourth milestone, the opening entries need work, or the timeline sits too low on the page.

Checklist before you publish

  1. Layout matches the content: vertical for history, horizontal only for a few fixed steps.
  2. Six to ten milestones, grouped by era if there are more.
  3. Each entry has a date, a short title and one or two sentences.
  4. Built as an ordered list with <time> elements, all text in the HTML.
  5. One date format, ranges with an en dash.
  6. Text contrast at 4.5:1, line and markers at 3:1.
  7. Tested at 320 and 360 pixels wide, with a chosen mobile strategy.
  8. Touch targets of at least 24 by 24 pixels.
  9. Animation respects prefers-reduced-motion and doesn’t shift the layout.
  10. Alt text on every photo, and permission to use archival images.
  11. An owner and a habit for adding new milestones.

Your next step is to write the milestone list before you open any design tool: dates, titles and one sentence each, in a plain document. Once that list reads well as a story on its own, the layout choice usually becomes obvious, and the build takes an afternoon rather than a week.

For more practical guides on web design and building better company pages, browse the rest of our blog.

Frequently asked questions

Does Google have a timeline maker?

Google has no standalone timeline maker. You can build a simple graphic in Google Slides or Docs with shapes, and Google Sheets includes a timeline view for date-based data. For a website, Sheets is most useful as the data source for an embed like TimelineJS.

Does Microsoft have a timeline maker?

PowerPoint includes timeline layouts under Insert > SmartArt, in the Process category, which work for a presentation or a static image. Add-ins such as Office Timeline go further. For a web page, export the content as text rather than as an image so it stays readable and indexable.

How do I make a timeline creative without hurting readability?

Put the creativity in the content and one strong visual idea: archival photos, a hand-drawn line that matches the brand, or a color per era. Keep the reading structure plain. A surprising layout that people can’t follow is decoration, not design.

Should the timeline go on the homepage or the About page?

The About page is the natural home, since visitors who go there want the company’s story. A homepage can carry a short three-to-five-step version with a link to the full history, which keeps the homepage focused on what you sell.

Can I reuse a project management Gantt chart as a public timeline?

Rarely as-is. A Gantt chart shows overlapping tasks and durations for a team, while a public timeline tells a story through single moments. Pick the few milestones a customer would care about and present them in a simple list.

Search Keywords

Recent Posts

Subscribe Now!