Reading Progress Bar
Scroll reveals · PasteMotion original
- Original
- GPU-friendly
- Vanilla JS
- Reduced-motion ready
Cards fade and rise into place as they scroll into view, one beat apart per column. Motion inView.
An original by PasteMotion · MIT License
<section class="fade-up-reveal">
<header class="fade-up-reveal__intro">
<h2 class="fade-up-reveal__heading">Features that show up on cue</h2>
<p class="fade-up-reveal__hint">Scroll down ↓</p>
</header>
<div class="fade-up-reveal__grid">
<article class="fade-up-reveal__card"><h3>Fast</h3><p>Only transform and opacity animate, so it stays smooth.</p></article>
<article class="fade-up-reveal__card"><h3>Accessible</h3><p>Reduced-motion users get the content immediately.</p></article>
<article class="fade-up-reveal__card"><h3>Progressive</h3><p>Without JavaScript, every card is simply visible.</p></article>
<article class="fade-up-reveal__card"><h3>Staggered</h3><p>Cards in the same row arrive a beat apart.</p></article>
<article class="fade-up-reveal__card"><h3>One-shot</h3><p>Each card animates once, then stays put.</p></article>
<article class="fade-up-reveal__card"><h3>Tiny</h3><p>A few lines on top of Motion's inView.</p></article>
</div>
</section>
Scroll reveals · PasteMotion original
Cursors · PasteMotion original
Hover effects · PasteMotion original
Cards · @htwarriors108
Cards · @vinodjangid07
Loaders · @jeremyssocial