Scroll To Accept Terms
Licence text scrolling inside a fixed frame that fades out at its bottom edge, above a dimmed accept row whose disabled button explains on hover that the text must be read to the end.
- lines of CSS
- 65lines of CSS
- dependencies
- 0dependencies
- baseline browsers
- Newlybaseline browsers
- motion only on interaction
- Hovermotion only on interaction
1. You may use the catalog in client and commercial work without attribution.
2. You may not resell the effects as a competing library or template pack.
3. The licence is per seat and stays with your team.
Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.
.fx-v14-fm-terms-15838 {
width: 250px;
color: #cbd5e1;
}
.fx-v14-fm-terms-15838 .hd { display: block; margin-bottom: 0.3rem; font-size: 0.66rem; font-weight: 600; color: #f1f5f9; }
.fx-v14-fm-terms-15838 .bx {
height: 82px;
padding: 0.4rem 0.55rem;
font-size: 0.6rem;
line-height: 1.5;
color: #94a3b8;
background: #0d1424;
border: 1px solid #29344d;
border-radius: 0.4rem;
overflow-y: auto;
-webkit-mask-image: linear-gradient(180deg, #000 0 62px, rgba(0,0,0,0.25) 82px);
mask-image: linear-gradient(180deg, #000 0 62px, rgba(0,0,0,0.25) 82px);
}
.fx-v14-fm-terms-15838 .bx p { margin: 0 0 0.4rem; }
.fx-v14-fm-terms-15838 .bx p:last-child { margin-bottom: 0; }
.fx-v14-fm-terms-15838 .bx::-webkit-scrollbar { width: 5px; }
.fx-v14-fm-terms-15838 .bx::-webkit-scrollbar-thumb { background: #334155; border-radius: 3px; }
.fx-v14-fm-terms-15838 .bx::-webkit-scrollbar-thumb:hover { background: #475569; }
.fx-v14-fm-terms-15838 .ft {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 0.45rem;
}
.fx-v14-fm-terms-15838 .ck { display: flex; align-items: center; gap: 0.35rem; font-size: 0.63rem; color: #475569; }
.fx-v14-fm-terms-15838 .ck i {
width: 14px;
height: 14px;
border: 1.5px solid #334155;
border-radius: 0.24rem;
}
.fx-v14-fm-terms-15838 .bt {
position: relative;
padding: 0.28rem 0.7rem;
font-size: 0.65rem;
font-weight: 600;
color: #475569;
background: #1b2740;
border: 1px solid #29344d;
border-radius: 0.35rem;
cursor: not-allowed;
}
.fx-v14-fm-terms-15838 .bt u {
position: absolute;
right: 0;
bottom: 125%;
padding: 0.16rem 0.4rem;
font-size: 0.55rem;
font-weight: 400;
text-decoration: none;
white-space: nowrap;
color: #e2e8f0;
background: #334155;
border-radius: 0.25rem;
opacity: 0;
transform: translateY(4px);
transition: opacity 0.18s ease, transform 0.18s ease;
}
.fx-v14-fm-terms-15838 .bt:hover u { opacity: 1; transform: none; }
.fx-v14-fm-terms-15838 .bx:hover { border-color: #3f5578; }<div class="fx-v14-fm-terms-15838">
<b class="hd">Terms of service</b>
<div class="bx">
<p>1. You may use the catalog in client and commercial work without attribution.</p>
<p>2. You may not resell the effects as a competing library or template pack.</p>
<p>3. The licence is per seat and stays with your team.</p>
</div>
<div class="ft">
<span class="ck"><i></i>I accept</span>
<span class="bt">Accept<u>Scroll to the end first</u></span>
</div>
</div>What do I do with this?
- Put
scroll-to-accept-terms-15839.cssanywhere your page already loads CSS from — in Next.js that isapp/globals.css, or any stylesheet with a<link>in your HTML. - Then put the class on the element you want it on:
<button class="fx-v14-fm-terms-15838">. The CSS does nothing until a class name in it matches something on the page.
- Link the stylesheet, then paste the markup wherever you need it.
npx hoverlab add scroll-to-accept-terms-15839What's included
- The markup and the stylesheet, in whichever framework you pick
- No runtime dependencies
Works with
- React
- Vue
- Svelte
- Tailwind
- styled-components
- Plain CSS
npx hoverlab add scroll-to-accept-terms-15839
Or over MCP, from your editor's agent — no account needed.
License
Free to read, copy and install, for personal and non-commercial projects. Shipping it in client work or a paid product needs Pro ($79 once). The source lands in your repo and stops being ours — no attribution, nothing to upgrade.
Motion safety
Static estimate, read from the CSS
- Reduced motion
- Brief motion, no guard
Animates briefly or on interaction. Only looping motion gets a guard in this catalog; copy the one from the Insights tab if this ships on a critical path.
- What it animates
- Compositor only
Only
transform,opacityorfilter: the GPU can run it without re-laying-out or repainting the page. - Flashing (WCAG 2.3.1)
- No flashing found
No repeating change in opacity, colour or brightness large enough to count as a flash.
- Layout shift (CLS)
- No shift expected
Nothing it animates moves or resizes the box in flow. A category from the CSS, not a measurement for this effect.
Every row is read from the shipped CSS. Only a figure marked measured came from a browser. Customizing the speed changes the timing, so recheck a customized copy. How it is computed
33 more effects in Forms & Validation
All of them free to read, copy and install — no account, no locked tiles, no watermarked preview. The whole catalog is open, and so are the API and the CLI.
Browse Forms & ValidationShipping one commercially
Copying the code is free. Putting it in client work or a paid product is what Pro is for — the licence, not the access.
- A commercial licence for everything in the catalog
- Unlimited bundle exports, in Vue, Svelte and Tailwind
- One payment — no subscription, nothing to renew
7 variations of Scroll To Accept Terms
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.