Skip to content
animorio
IT
Back to the library

Skills on scroll

Scroll, TextGSAP, CSS onlyMediumCompressed weight: Demo 6.5 KBGSAP + ScrollTrigger 45 KBLenis 5.3 KBFreeDownload the zip

Scroll inside the preview

The «What I do» section of the portfolio of Ines Varga, a made-up designer who also writes the front-end: as you scroll, six skills arrive one at a time as big rows. The name rises from a cut, the years of experience roll up to their number, a thin line under the row fills in proportion with a notch that settles on a one-pixel wobble, and the tools land as pills on a short spring. The row in focus is full and opens with an example from a project, the others stay at 40%. At the end «12 years, 140 projects» rolls up. Minimal style.

The code

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>
<!--
  "Skills on scroll" 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>Ines Varga, what I do</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/jetbrains-mono@5.3.0/index.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <!-- Ines Varga, a made-up designer who also writes the front-end. The «What I do» section of the portfolio, on a
       sticky stage: while you scroll, the skills arrive one at a time as big rows. The name rises from a cut, the years
       roll up to their number, a hairline under the row fills in proportion with a notch that settles with a one-pixel
       wobble, and the tools land as thin pills on a short spring. The row in focus is full, the others step back to 40%,
       and the open row shows an example from a real project. At the end a summary line rolls up. -->
  <section class="corsa" data-corsa>
    <div class="palco" data-palco>
      <header class="testa">
        <p class="marca" data-entra><span class="sigla" aria-hidden="true">IV</span>Ines Varga</p>
        <p class="etichetta" data-entra>What I do</p>
      </header>

      <ol class="elenco" data-elenco aria-label="Skills"></ol>

      <div class="somma" data-somma>
        <span class="somma__filo" data-somma-filo></span>
        <p class="somma__testo"><span class="somma__in" data-somma-in><span class="n" data-n="12">0</span> years, <span class="n" data-n="140">0</span> projects</span></p>
        <span class="somma__taglio"><a class="somma__link" href="#" data-somma-in>Say hello
          <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h10M9 4l4 4-4 4" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>
        </a></span>
      </div>
    </div>
  </section>
  <footer class="fine">Ines Varga is a made-up designer. The projects are made up too.</footer>

  <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/ScrollTrigger.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/lenis@1.3.26/dist/lenis.min.js"></script>
  <script src="script.js"></script>
</body>
</html>

Playground

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.

22 values to change

Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI

Or ask your AI assistant for it

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 “Skills on scroll” from Animorio and fit it into my site
Platform licenseFree on your sites and your clients’ sites. Want it inside a website builder, a template platform or a client dashboard? There’s a license for agencies and platforms.

What it does

On a sticky stage as tall as the screen, the scroll brings in the skills one after another: each one starts a small timeline (the name from the cut, the years counting, the line filling up to years divided by 12, the notch wobbling, the pills on a spring). Scrolling back, the rows leave faster. The row in focus opens with an example, and the mouse can bring any row that has already arrived into focus.

How it works

The sticky stage

A tall section (six rows plus two, times 58vh) holding a sticky stage 100lvh tall: a ScrollTrigger without scrub splits the progress into seven stretches and says how many rows have arrived.

One timeline per row

Each row has its own paused timeline: play when it arrives, a faster reverse when you scroll back. The line is a scaleX from 0 to the years divided by 12, the notch follows with left as a percentage and then wobbles by a pixel.

The focus

The last row to arrive is full and opens to height auto with its example; the others drop to 40%. The mouse or a tap brings another row into focus.

The summary

In the last stretch a line draws above the summary and the two numbers roll up to 12 and 140.

Values to change

NameFileDefaultWhat it changes
MAX_YEARSscript.js12The years that fill the whole line.
DURATIONscript.js1.1How long a row takes to arrive, in seconds.
PILL_SPRINGscript.js2.2How far the tool pills overshoot when they land.
WOBBLEscript.js1.5How far the notch overshoots, in pixels, before it settles.
DIMscript.js0.4How bright the rows out of focus stay.
REVERSE_SPEEDscript.js1.8How much faster a row leaves when you scroll back.
RIDEscript.js1How much scroll the whole section takes: 2 is twice as long.

Try them in the Playground

When to use it

The About page or the skills section of a portfolio, an online resume or a studio: where the years and the tools are real data to read, not bars to fill.

On phones

On a phone the rows are smaller and sized on the height too; the tool pills move inside the open row, under the name, so the line never runs off the side. Same scroll, same motion; a tap brings a row into focus.

With reduced motion

Nothing rises or rolls: each row fades in with the numbers already at their value and the line already filled, and the summary fades in.

Pitfalls

  • Each row has its own paused timeline, not one scrubbed timeline: that way each row arrives whole even if you scroll in one go, and leaves with reverse when you scroll back.
  • GSAP writes the focus opacity on the row, while the arrival only moves its children: if both touched the same element they would cancel each other out.
  • The open row goes to height auto: on resize it is set back to auto, otherwise it keeps its old height.

Libraries

GSAP 3.15.0, ScrollTrigger 3.15.0, Lenis 1.3.26, Mona Sans (font variabile) 5.3.0, JetBrains Mono (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 6.5 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.

Testing

Tested on 26 November 2026

  • Desktop: Done
  • Phone: Done
  • Reduced motion: Done
  • Safari on iPhone: To do

License

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.

All animations