{"id":5166,"date":"2021-12-03T01:00:00","date_gmt":"2021-12-03T00:00:00","guid":{"rendered":"https:\/\/alvarotrigo.com\/epa\/html-css-timelines\/"},"modified":"2024-07-25T19:39:39","modified_gmt":"2024-07-25T17:39:39","slug":"html-css-timelines","status":"publish","type":"post","link":"https:\/\/alvarotrigo.com\/blog\/html-css-timelines\/","title":{"rendered":"15+ HTML &#038; CSS Timelines [Examples for Inspiration]"},"content":{"rendered":"\n<p>Let\u2019s go through some amazing <strong>CSS &amp; HTML timeline examples<\/strong>. These can all be used and integrated into your own projects (i.e. <a href=\"https:\/\/alvarotrigo.com\/blog\/online-portfolio-examples\/\">personal online portfolio<\/a>) Get inspiration and maybe even use one from our list. But before anything, let\u2019s clarify what is a timeline.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-a-html-timeline-in-web-design%3F\">What Is A HTML Timeline in Web Design?<\/h2>\n\n\n\n<p><strong>A timeline is a useful way to display a whole range of information and or data points to a user. Companies use them to showcase their existence across time and what they have done over the years and people can use them to display their portfolio work across time as well<\/strong>.<\/p>\n\n\n\n<p>You have probably already come across a timeline already.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" data-src=\"https:\/\/alvarotrigo.com\/blog\/assets\/imgs\/2021-12-03\/timeline-example.jpeg\" alt=\"Example of timeline\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"different-types-of-html-%26-css-timelines\">Different Types Of HTML &amp; CSS Timelines<\/h2>\n\n\n\n<p><strong>Even though an HTML timeline is relatively simple, there are a few different types you should be aware of.<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>You can have a <strong>vertical timeline<\/strong> where the information is spread vertically (we will see examples below)<\/li>\n\n\n\n<li>Or you can have <strong>horizontal timelines<\/strong> which show information across the screen along the x-axis.<\/li>\n<\/ol>\n\n\n\n<p>Then we have the other category: <strong>interactive timelines<\/strong>. These can be either vertical or horizontal and sometimes both.<\/p>\n\n\n\n<p>Each type can easily scale down to a mobile device and work fully responsively as well.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"css-and-html-timeline-examples\">CSS and HTML Timeline Examples<\/h2>\n\n\n\n<p>Most only require pure HTML and CSS but if you are after a more complex timeline, you may have to accept a small amount of JavaScript (If you do not know JS, do not worry, <a href=\"https:\/\/alvarotrigo.com\/blog\/learn-javascript\/\">it shouldn\u2019t take you too much time to learn JavaScript<\/a>)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1.-full-screen-timeline\">1. <a href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/zYEGVdV\" target=\"_blank\" rel=\"noopener nofollow\">full-screen Timeline<\/a><\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_zYEGVdV\" data-src=\"\/\/codepen.io\/anon\/embed\/zYEGVdV?height=450&amp;theme-id=1&amp;slug-hash=zYEGVdV&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed zYEGVdV\" title=\"CodePen Embed zYEGVdV\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/zYEGVdV\" title=\"Preview\" target=\"_blank\" rel=\"noopener nofollow\">Preview<\/a><\/div>\n<\/div>\n\n\n\n<p>If you can consider a full-screen <a href=\"https:\/\/alvarotrigo.com\/blog\/website-layouts\/\">website layout<\/a> this design is ideal for you.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.bbc.co.uk\/news\/resources\/idt-d88680d1-26f2-4863-be95-83298fd01e02\" target=\"_blank\" rel=\"noopener nofollow\">The BBC<\/a> uses this exact layout for the same purpose. It displays information in a timeline, where each section represents a different point in time.<\/p>\n\n\n\n<p>\n    <a href=\"https:\/\/alvarotrigo.com\/fullPage\/\">\n        <video width=\"680\" height=\"382\" muted autoplay loop playsinline>\n            <source src= \"https:\/\/cdn.jsdelivr.net\/gh\/alvarotrigo\/blog-assets\/videos\/bbc.webm\" type=\"video\/webm\"\/>\n            <source src= \"https:\/\/cdn.jsdelivr.net\/gh\/alvarotrigo\/blog-assets\/videos\/bbc.mp4\" type=\"video\/mp4\" \/>\n            Your browser does not support the video tag.\n        <\/source><\/source><\/video>\n    <\/a>\n<\/p>\n\n\n\n<p>This Timeline design is ideal for storytelling. It just feels so natural to keep on scrolling down to get more information in chronological order.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>This timeline makes use of the <a href=\"https:\/\/alvarotrigo.com\/fullPage\/\">JavaScript fullPage.js component<\/a> to create the whole full-screen experience. If you are into WordPress, it&#8217;s also available for <a href=\"https:\/\/alvarotrigo.com\/fullPage\/wordpress-plugin-elementor\/\">Elementor<\/a> and <a href=\"https:\/\/alvarotrigo.com\/fullPage\/wordpress-plugin-gutenberg\/\">Gutenber<\/a> builders.<\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2.-panel-timeline\">2. <a href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/GRMKqoX\" target=\"_blank\" rel=\"noopener nofollow\">Panel Timeline<\/a><\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_GRMKqoX\" data-src=\"\/\/codepen.io\/anon\/embed\/GRMKqoX?height=450&amp;theme-id=1&amp;slug-hash=GRMKqoX&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed GRMKqoX\" title=\"CodePen Embed GRMKqoX\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/GRMKqoX\" title=\"Preview\" target=\"_blank\" rel=\"noopener nofollow\">Preview<\/a><\/div>\n<\/div>\n\n\n\n<p>Kind of like a normal vertical-style timeline but it is in the format of full-screen panels, upon hover, an image and text appear to showcase that date.<\/p>\n\n\n\n<p>Uses fancy animations and transitions, very engaging to use. You could even add <a href=\"https:\/\/alvarotrigo.com\/blog\/animated-backgrounds-css\/\">CSS backgrounds animations<\/a> on each screen panel to catch the user&#8217;s attention.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>If you are looking for full-screen website layouts, you may be interested in a project called <a href=\"https:\/\/alvarotrigo.com\/fullPage\/#\">fullPage.js<\/a> &#8211; Create fullscreen scrollable websites that are fully responsive<\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3.-vertical-left-right-timeline\">3. <a href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/BawBzjM\" target=\"_blank\" rel=\"noopener nofollow\">Vertical Left-Right Timeline<\/a><\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_BawBzjM\" data-src=\"\/\/codepen.io\/anon\/embed\/BawBzjM?height=450&amp;theme-id=1&amp;slug-hash=BawBzjM&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed BawBzjM\" title=\"CodePen Embed BawBzjM\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/BawBzjM\" title=\"Preview\" target=\"_blank\" rel=\"noopener nofollow\">Preview<\/a><\/div>\n<\/div>\n\n\n\n<p>This is a great example of what a vertical CSS timeline looks like, it is simple and effective and this one only uses pure HTML and CSS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4.-vertical-block-timeline\">4. <a href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/ZEXzOWQ\" target=\"_blank\" rel=\"noopener nofollow\">Vertical Block Timeline<\/a><\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_ZEXzOWQ\" data-src=\"\/\/codepen.io\/anon\/embed\/ZEXzOWQ?height=450&amp;theme-id=1&amp;slug-hash=ZEXzOWQ&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed ZEXzOWQ\" title=\"CodePen Embed ZEXzOWQ\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/ZEXzOWQ\" title=\"Preview\" target=\"_blank\" rel=\"noopener nofollow\">Preview<\/a><\/div>\n<\/div>\n\n\n\n<p>Another great example of a vertical style timeline which only uses HTML and CSS, very easy to get started with this one.<\/p>\n\n\n\n<p>The CSS timeline indication points are on the left side and then the information on the right works very well on a mobile device.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"5.-swiping-horizontal-timeline\">5. <a href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/ExwYyKZ\" target=\"_blank\" rel=\"noopener nofollow\">Swiping Horizontal Timeline<\/a><\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_ExwYyKZ\" data-src=\"\/\/codepen.io\/anon\/embed\/ExwYyKZ?height=450&amp;theme-id=1&amp;slug-hash=ExwYyKZ&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed ExwYyKZ\" title=\"CodePen Embed ExwYyKZ\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/ExwYyKZ\" title=\"Preview\" target=\"_blank\" rel=\"noopener nofollow\">Preview<\/a><\/div>\n<\/div>\n\n\n\n<p>A wonderful example of a horizontal timeline which is very engaging and great for mobile devices because it uses a swiping action to trigger the HTML timeline between dates. An <a href=\"https:\/\/alvarotrigo.com\/blog\/slider-website-design-examples\/\">animated slider<\/a> swipes every time you select a date. It can be used on desktop and clicked through.<\/p>\n\n\n\n<p>This one does use a little bit of JavaScript but is still very easy to use. It also auto-plays as well.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>If you want to build something similar by yourself, check out <a href=\"https:\/\/alvarotrigo.com\/blog\/create-a-slider-with-pure-CSS\/\">how to create a slider using only CSS<\/a>.<\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"6.-left-to-right-vertical-timeline\">6. <a href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/mdBbEPj\" target=\"_blank\" rel=\"noopener nofollow\">Left-to-Right Vertical Timeline<\/a><\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_mdBbEPj\" data-src=\"\/\/codepen.io\/anon\/embed\/mdBbEPj?height=450&amp;theme-id=1&amp;slug-hash=mdBbEPj&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed mdBbEPj\" title=\"CodePen Embed mdBbEPj\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/mdBbEPj\" title=\"Preview\" target=\"_blank\" rel=\"noopener nofollow\">Preview<\/a><\/div>\n<\/div>\n\n\n\n<p>Left to right vertical HTML timeline that is great for a design which relies on scrolling downwards. The timeline indication points are diagonal from the centre and can be set to different colours.<\/p>\n\n\n\n<p>This one only uses pure HTML and CSS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"7.-stepped-vertical-timeline\">7. <a href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/bGobepJ\" target=\"_blank\" rel=\"noopener nofollow\">Stepped Vertical Timeline<\/a><\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_bGobepJ\" data-src=\"\/\/codepen.io\/anon\/embed\/bGobepJ?height=450&amp;theme-id=1&amp;slug-hash=bGobepJ&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed bGobepJ\" title=\"CodePen Embed bGobepJ\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/bGobepJ\" title=\"Preview\" target=\"_blank\" rel=\"noopener nofollow\">Preview<\/a><\/div>\n<\/div>\n\n\n\n<p>Vertical CSS timeline with a centred\/stepped design where all the dates are located. Great for a <a href=\"https:\/\/alvarotrigo.com\/blog\/scrolling-animation\/\">website with scrolling animations<\/a>.<\/p>\n\n\n\n<p>Only uses HTML and CSS, making it easy to work with.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"8.-left-to-right-card-timeline\">8. <a href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/jOGNrrN\" target=\"_blank\" rel=\"noopener nofollow\">Left-to-Right Card Timeline<\/a><\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_jOGNrrN\" data-src=\"\/\/codepen.io\/anon\/embed\/jOGNrrN?height=450&amp;theme-id=1&amp;slug-hash=jOGNrrN&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed jOGNrrN\" title=\"CodePen Embed jOGNrrN\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/jOGNrrN\" title=\"Preview\" target=\"_blank\" rel=\"noopener nofollow\">Preview<\/a><\/div>\n<\/div>\n\n\n\n<p>This one is really nice because it is a great example of how you can make a basic vertical HTML timeline look really modern. It has space for an icon which can be changed between dates, a card with a title and description with space for other information, plus it has a button as well.<\/p>\n\n\n\n<p>Only uses pure HTML and CSS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"9.-zigzag-timeline\">9. <a href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/XWerKKj\" target=\"_blank\" rel=\"noopener nofollow\">ZigZag Timeline<\/a><\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_XWerKKj\" data-src=\"\/\/codepen.io\/anon\/embed\/XWerKKj?height=450&amp;theme-id=1&amp;slug-hash=XWerKKj&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed XWerKKj\" title=\"CodePen Embed XWerKKj\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/XWerKKj\" title=\"Preview\" target=\"_blank\" rel=\"noopener nofollow\">Preview<\/a><\/div>\n<\/div>\n\n\n\n<p>This one is a bit different and offers a zig-zag approach to the vertical timeline style, only using HTML and CSS to pull it off as well. Has a basic style but could be turned around with your own styling.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"10.-user-profile-ordering-timeline\">10. <a href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/abLoZZJ\" target=\"_blank\" rel=\"noopener nofollow\">User Profile Ordering Timeline<\/a><\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_abLoZZJ\" data-src=\"\/\/codepen.io\/anon\/embed\/abLoZZJ?height=450&amp;theme-id=1&amp;slug-hash=abLoZZJ&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed abLoZZJ\" title=\"CodePen Embed abLoZZJ\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/abLoZZJ\" title=\"Preview\" target=\"_blank\" rel=\"noopener nofollow\">Preview<\/a><\/div>\n<\/div>\n\n\n\n<p>Very different from what we have seen but it only uses HTML and CSS to pull this whole design off.<\/p>\n\n\n\n<p>However, it has great examples of real-world usage of a CSS timeline. It shows off one vertical and one horizontal timeline, based around a customer ordering page.<\/p>\n\n\n\n<p>This one is really unique because you can see and learn from this.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"11.-vertical-left-to-right-timeline\">11. <a href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/VwMZjjQ\" target=\"_blank\" rel=\"noopener nofollow\">Vertical Left-to-Right Timeline<\/a><\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_VwMZjjQ\" data-src=\"\/\/codepen.io\/anon\/embed\/VwMZjjQ?height=450&amp;theme-id=1&amp;slug-hash=VwMZjjQ&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed VwMZjjQ\" title=\"CodePen Embed VwMZjjQ\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/VwMZjjQ\" title=\"Preview\" target=\"_blank\" rel=\"noopener nofollow\">Preview<\/a><\/div>\n<\/div>\n\n\n\n<p>A great example of a vertical HTML timeline with a different design that uses images for each date and has a title design as well.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"12.-horizontal-carousel-timeline\">12. <a href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/OJxLXXr\" target=\"_blank\" rel=\"noopener nofollow\">Horizontal Carousel Timeline<\/a><\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_OJxLXXr\" data-src=\"\/\/codepen.io\/anon\/embed\/OJxLXXr?height=450&amp;theme-id=1&amp;slug-hash=OJxLXXr&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed OJxLXXr\" title=\"CodePen Embed OJxLXXr\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/OJxLXXr\" title=\"Preview\" target=\"_blank\" rel=\"noopener nofollow\">Preview<\/a><\/div>\n<\/div>\n\n\n\n<p>A very engaging horizontal timeline which uses a <a href=\"https:\/\/alvarotrigo.com\/blog\/jquery-carousel\/\">carousel effect<\/a>. Uses HTML, CSS and a bit of JavaScript.<\/p>\n\n\n\n<p>Easy to replace each icon or colour to convert it to your branding.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"13.-animated-scrolling-vertical-timeline\">13. <a href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/yLzBJaN\" target=\"_blank\" rel=\"noopener nofollow\">Animated Scrolling Vertical Timeline<\/a><\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_yLzBJaN\" data-src=\"\/\/codepen.io\/anon\/embed\/yLzBJaN?height=450&amp;theme-id=1&amp;slug-hash=yLzBJaN&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed yLzBJaN\" title=\"CodePen Embed yLzBJaN\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/yLzBJaN\" title=\"Preview\" target=\"_blank\" rel=\"noopener nofollow\">Preview<\/a><\/div>\n<\/div>\n\n\n\n<p>If you are looking for something with some animation based on the scrolling by the user, this is a great example. As you scroll the whole timeline is animated, text and images slide into view and the timeline is in the centre. It also works as you scroll up as well.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>If you do know yet how to create this effect, check our post on <a href=\"https:\/\/alvarotrigo.com\/blog\/css-animations-scroll\/\">how to create animations on scroll using CSS<\/a>.<\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"14.-left-to-right-vertical-timeline\">14. <a href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/MWEgejK\" target=\"_blank\" rel=\"noopener nofollow\">Left-to-Right Vertical Timeline<\/a><\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_MWEgejK\" data-src=\"\/\/codepen.io\/anon\/embed\/MWEgejK?height=450&amp;theme-id=1&amp;slug-hash=MWEgejK&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed MWEgejK\" title=\"CodePen Embed MWEgejK\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/MWEgejK\" title=\"Preview\" target=\"_blank\" rel=\"noopener nofollow\">Preview<\/a><\/div>\n<\/div>\n\n\n\n<p>A pure HTML and CSS vertical left-to-right timeline which has a quite cool layout. It uses large dates and can display images with text.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"15.-centred-responsive-timeline\">15. <a href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/ExwYygW\" target=\"_blank\" rel=\"noopener nofollow\">Centred Responsive Timeline<\/a><\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_ExwYygW\" data-src=\"\/\/codepen.io\/anon\/embed\/ExwYygW?height=450&amp;theme-id=1&amp;slug-hash=ExwYygW&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed ExwYygW\" title=\"CodePen Embed ExwYygW\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/ExwYygW\" title=\"Preview\" target=\"_blank\" rel=\"noopener nofollow\">Preview<\/a><\/div>\n<\/div>\n\n\n\n<p>A classic centred timeline style with dates that display left and right. Made with only HTML and CSS. It is easy to change the colours on this one.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"16.-grid-style-timeline\">16. <a href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/vYeBKXr\" target=\"_blank\" rel=\"noopener nofollow\">Grid Style Timeline<\/a><\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_vYeBKXr\" data-src=\"\/\/codepen.io\/anon\/embed\/vYeBKXr?height=450&amp;theme-id=1&amp;slug-hash=vYeBKXr&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed vYeBKXr\" title=\"CodePen Embed vYeBKXr\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/vYeBKXr\" title=\"Preview\" target=\"_blank\" rel=\"noopener nofollow\">Preview<\/a><\/div>\n<\/div>\n\n\n\n<p>This one is a bit more unique because it is based on using the CSS grid feature to display the timeline. With this HTML timeline, it is more advanced on the amount of information it can display at a single date, kind of like a flow chart but it could be used as a timeline.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"17.-animated-vertical-timeline\">17. <a href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/QWqLEGL\" target=\"_blank\" rel=\"noopener nofollow\">Animated Vertical Timeline<\/a><\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_QWqLEGL\" data-src=\"\/\/codepen.io\/anon\/embed\/QWqLEGL?height=450&amp;theme-id=1&amp;slug-hash=QWqLEGL&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed QWqLEGL\" title=\"CodePen Embed QWqLEGL\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/QWqLEGL\" title=\"Preview\" target=\"_blank\" rel=\"noopener nofollow\">Preview<\/a><\/div>\n<\/div>\n\n\n\n<p>A nice timeline with subtle animations. It slides in each item like a card. It has a simple card design with a title and description. Made with HTML, CSS and a little JavaScript.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"18.-stepped-process-timeline\">18. <a href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/ZEXzOBW\" target=\"_blank\" rel=\"noopener nofollow\">Stepped Process Timeline<\/a><\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_ZEXzOBW\" data-src=\"\/\/codepen.io\/anon\/embed\/ZEXzOBW?height=450&amp;theme-id=1&amp;slug-hash=ZEXzOBW&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed ZEXzOBW\" title=\"CodePen Embed ZEXzOBW\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/ZEXzOBW\" title=\"Preview\" target=\"_blank\" rel=\"noopener nofollow\">Preview<\/a><\/div>\n<\/div>\n\n\n\n<p>A great example of how you can use a timeline to guide a user through an account setup process. HTML Timelines don\u2019t always have to be used with a date.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"19.-vertical-timeline-with-hover-effects\">19. <a href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/ExwYyNW\" target=\"_blank\" rel=\"noopener nofollow\">Vertical Timeline With Hover Effects<\/a><\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_ExwYyNW\" data-src=\"\/\/codepen.io\/anon\/embed\/ExwYyNW?height=450&amp;theme-id=1&amp;slug-hash=ExwYyNW&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed ExwYyNW\" title=\"CodePen Embed ExwYyNW\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/codepen.io\/alvarotrigo\/pen\/ExwYyNW\" title=\"Preview\" target=\"_blank\" rel=\"noopener nofollow\">Preview<\/a><\/div>\n<\/div>\n\n\n\n<p>A good design for a vertical CSS timeline that uses unique hover animations to make the layout more engaging with the user. Each section when hovered can be clickable, leading to another page if needed. You could also add <a href=\"https:\/\/alvarotrigo.com\/blog\/best-css-button-hover-effects\/\">buttons with CSS hover animations<\/a> as well.<\/p>\n\n\n\n<p>Made purely with HTML and CSS.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"final-thoughts\">Final Thoughts<\/h2>\n\n\n\n<p>Hopefully, you have a better understanding of the different CSS &amp; HTML timeline types and that we have inspired you with the examples shown.<\/p>\n\n\n\n<p>A timeline can be a great way to display lots of information in one area or in a specific way. Attaching dates or events to a CSS timeline can help guide users through the information they are seeing.<\/p>\n\n\n\n<p>If you are into full-screen designs, you should definitely take a look at <a href=\"https:\/\/alvarotrigo.com\/fullPage\/\">fullPage.js<\/a>. It is just beautifully simple!<\/p>\n\n\n\n<p>And if not, just pick any of the above that best fits your needs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"related-articles\">Related Articles<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/alvarotrigo.com\/blog\/html-css-tabs\/\">13 Great Story Telling Websites<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/alvarotrigo.com\/blog\/7-scroll-text-animations-css-and-js\/\">Scroll text animations<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/alvarotrigo.com\/blog\/create-a-slider-with-pure-CSS\/\">Create a Slider with just CSS<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/alvarotrigo.com\/blog\/css-animations-scroll\/\">How to Create CSS Animations on Scroll<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/alvarotrigo.com\/blog\/animated-backgrounds-css\/\">CSS Animated Backgrounds<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Let\u2019s go through some amazing CSS &#038; HTML timeline examples. Get inspiration or use them in your own projects.<\/p>\n","protected":false},"author":11,"featured_media":5165,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[106],"tags":[9,25,126,17],"class_list":["post-5166","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-css","tag-css","tag-html","tag-inspiration","tag-web"],"acf":[],"_links":{"self":[{"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/posts\/5166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/comments?post=5166"}],"version-history":[{"count":5,"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/posts\/5166\/revisions"}],"predecessor-version":[{"id":15599,"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/posts\/5166\/revisions\/15599"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/media\/5165"}],"wp:attachment":[{"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/media?parent=5166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/categories?post=5166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/tags?post=5166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}