Spaces:
Running
Running
Download guide-scroll.html from dstechstudio/site: direct link, hf CLI and curl.
- Browser
- Download file 4.37 kB
-
https://huggingface.co/spaces/dstechstudio/site/resolve/main/guide-scroll.html
- Command line
-
hf download hf://spaces/dstechstudio/site/guide-scroll.html
-
curl -L -o guide-scroll.html https://huggingface.co/spaces/dstechstudio/site/resolve/main/guide-scroll.html
4.37 kB
| <html lang="hi"><head> | |
| <meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Scroll Experience Guide | DS Tech Studio</title> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"><link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Sora:wght@700;800&display=swap" rel="stylesheet"> | |
| <style> | |
| :root{--bg:#05070f;--bg2:#0a0f1f;--card:#0d1322;--card2:#131a30;--txt:#e8eefc;--mut:#93a1c4;--acc:#3b82f6;--acc2:#22d3ee;--line:rgba(148,163,184,.14)} | |
| *{margin:0;padding:0;box-sizing:border-box} | |
| body{background:var(--bg);color:var(--txt);font-family:'Poppins',sans-serif;line-height:1.7} | |
| .top{position:sticky;top:0;z-index:10;background:rgba(5,7,15,.85);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)} | |
| .tin{max-width:920px;margin:0 auto;padding:14px 20px;display:flex;align-items:center;justify-content:space-between} | |
| .top a{color:var(--acc2);text-decoration:none;font-weight:600;font-size:14px;min-height:44px;display:inline-flex;align-items:center} | |
| .brand{font-family:'Sora',sans-serif;font-weight:800;font-size:16px} | |
| .wrap{max-width:920px;margin:0 auto;padding:36px 20px 60px} | |
| .kick{color:#7ea2e8;font-size:12px;font-weight:600;letter-spacing:2.5px;text-transform:uppercase} | |
| h1{font-family:'Sora',sans-serif;font-size:clamp(30px,6vw,44px);font-weight:800;line-height:1.15;margin:8px 0 10px} | |
| .gradtxt{background:linear-gradient(90deg,#3b82f6,#22d3ee);-webkit-background-clip:text;background-clip:text;color:transparent} | |
| .sub{color:var(--mut);font-size:16px;max-width:720px} | |
| .g{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:22px 24px;margin-top:18px} | |
| .g h2{font-size:19px;margin-bottom:8px} | |
| .g p{color:var(--mut);font-size:15px} | |
| .cta{margin-top:26px;background:var(--card2);border:1px solid var(--line);border-radius:18px;padding:22px;text-align:center} | |
| .btn{display:inline-block;margin-top:10px;padding:13px 26px;border-radius:12px;background:linear-gradient(90deg,#2563eb,#22d3ee);color:#fff;text-decoration:none;font-weight:700;font-size:15px} | |
| .foot{text-align:center;color:#5f6b8f;font-size:12.5px;padding:18px 0 34px} | |
| :focus-visible{outline:2px solid #60a5fa;outline-offset:2px} | |
| @media(max-width:600px){.g{padding:18px}.g p{font-size:15.5px}} | |
| </style></head><body> | |
| <div class="top"><div class="tin"><span class="brand">DS Tech Studio</span><a href="https://dstechstudio-site.static.hf.space/">← Wapas website par</a></div></div> | |
| <div class="wrap"> | |
| <div class="kick">Free Guide · scroll-experience</div> | |
| <h1>Scroll Experience Guide <span class="gradtxt">Hindi Guide</span></h1> | |
| <p class="sub">Scroll ko navigation nahi, storytelling banao — Apple aur NY Times jaisi cinematic feel, mobile-safe.</p> | |
| <section class="g"><h2>Library kaise chunein</h2><p>GSAP ScrollTrigger (complex animations), Framer Motion (React), Lenis (smooth scroll), Locomotive (parallax), CSS scroll-timeline (simple, native).</p></section> | |
| <section class="g"><h2>Parallax layers</h2><p>Background 0.2x, midground 0.5x, foreground aur content 1x, floating elements 1.2x — isse depth banti hai. Scrub animations use karo.</p></section> | |
| <section class="g"><h2>Story beats</h2><p>Section 1 hook (full viewport), phir context, phir journey (parallax), phir climax (reveal), end me resolution (CTA). Text reveal: fade, word-by-word highlight, sticky text with changing visuals.</p></section> | |
| <section class="g"><h2>Sticky sections</h2><p>position: sticky se content pin karo ya GSAP pin:true. Horizontal scroll panels product walkthrough aur galleries ke liye best.</p></section> | |
| <section class="g"><h2>Anti-patterns</h2><p>Scroll hijacking kabhi nahi (user ki scroll speed mat roko), animation overload nahi, desktop-only experience nahi (mobile-first, real devices par test).</p></section> | |
| <section class="g"><h2>Performance & access</h2><p>Scroll jank se bachne ke liye transform/opacity use karo, parallax mobile par halka karo, prefers-reduced-motion respect karo, important content animation ke peeche na chhupao.</p></section> | |
| <div class="cta"><b>Koi project ya kaam chahiye?</b><br><a class="btn" href="https://dstechstudio-site.static.hf.space/#request">Request bhejein</a></div> | |
| </div> | |
| <div class="foot">DS Tech Studio · Digital Solutions · Web · Design · Automation · IoT</div> | |
| </body></html> |