
Speeding marquee
Scroll, Text, Hover
The archive of a personal blog in a card: twelve bars, one per month, as tall as the posts that came out. The month under the pointer stands up and takes colour, its neighbours drop slightly, and below its titles arrive one after the other, with the date. Even the empty month has its line.
A folder that runs on its own: index.html, style.css, script.js and the libraries from a CDN. The React and Vue tabs hold the same demo as a ready component, which switches its animations off when it leaves the page.
<!doctype html>
<!--
"Blog archive bars" from Animorio · https://animorio.com
License: free on your own sites and your clients’ sites, paid work included.
Not for resale, redistribution, templates or code collections · https://animorio.com/en/license/
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Blog archive with the months as bars and the posts of the month that open below</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="stage">
<!-- the archive of a personal blog: one bar per month, as tall as the posts written; the month under the pointer
stands up in colour and its titles arrive below, one after the other -->
<section class="ar" data-ar aria-label="Archive">
<header class="ar__head">
<span class="ar__title">Archive<i>2026</i></span>
<span class="ar__sum"><b data-sum></b> essays this year</span>
</header>
<div class="ar__bars" data-bars role="tablist" aria-label="Months"></div>
<div class="ar__month"><span class="ar__name"><span data-name></span></span><span class="ar__n"><span data-n></span></span></div>
<ul class="ar__posts" data-posts></ul>
</section>
<svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.2 19.2 11l-6.3 1.6-3.3 5.9Z"></path></svg>
</main>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
<script src="script.js"></script>
</body>
</html>Change values, colours and text with the controls and watch the animation respond live. Or write in the code yourself. Then download the folder with your changes.
14 values to change
With the Animorio connector, Claude Code, ChatGPT, Cursor or VS Code take it from here, guide included, and fit it into your project. Paste this request:
Take “Blog archive bars” from Animorio and fit it into my siteEach bar is as tall as the whole well and has scaleY with the origin at the bottom: 0.14 plus 0.78 times the share of posts against the fullest month. The chosen month goes to LIFT times its size with back.out(3), the neighbours to 96%.
The name, the count and the titles leave and come back in the direction of the move between months (from March to May towards the left, the other way towards the right): a single variable, the sign of the difference between the indexes.
The list has a fixed height of three lines, so the card never changes size. The titles are rewritten halfway through the timeline, after the old ones have left; a new timeline stops the previous one.
| Name | File | Default | What it changes |
|---|---|---|---|
START | script.js | 10 | The month open at the start: 0 January, 11 December. |
ACCENT | script.js | #5a48e0 | The colour of the chosen month. |
LIFT | script.js | 1.08 | How much the chosen month’s bar grows. |
PAUSE | script.js | 1.6 | Alone: how many seconds it stays on each month. |
LOOP | script.js | true | Left alone, a pointer visits four months. |
On the archive page of a personal blog or a newsletter, at the bottom of a writer’s home page, in any collection ordered by month (podcasts, photos, notes) where seeing how much was made is part of the story.
The same card, as wide as the screen; the bars never exceed 20% of the height and long titles are cut with an ellipsis. You tap the bar.
The bars are already at their size and do not rise: the chosen month only changes colour, and name, count and titles change at once.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 5.0 KB; the libraries: GSAP 28 KB.
Tested on 16 November 2026
Use it in your own projects and in your clients’ projects. Do not resell it or redistribute it as is. GSAP stays under its own Standard license. Full license.
Support Animorio
Animorio stays free thanks to the people who support it. If you like, buy us a coffee: it helps us make the next animations.
You asked for
We made it for you: it’s in the library, with the preview, the Playground and the code to copy.
An animation you can’t find, or a site to take apart in the journal: tell us which. We pick the next ones from here.
With your account’s email and password.
or with your email
You’re signed in as .
With your account, you can download the zip of every animation and every pack, for free.