Skip to content

176 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step.

fix: remove unused CSS var and invalid p-in-li in root index

matinaf746540f1e3
diff --git a/index.html b/index.html
index 7ec4286a..dfcde4d5 100644
--- a/index.html
+++ b/index.html
@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Animation Atlas</title>
<style>
- :root { --bg: #060a10; --text: #c9d1d9; --muted: #8b949e; --accent: #58a6ff; --border: #21262d; }
+ :root { --bg: #060a10; --text: #c9d1d9; --muted: #8b949e; --accent: #58a6ff; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: monospace; padding: 48px 32px; max-width: 720px; margin: 0 auto; }
h1 { font-size: 18px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px; }
@@ -25,7 +25,7 @@
<ul>
<li>
<a href="animations/01-scroll-based/parallax-depth-of-field/">Parallax Depth-of-Field</a>
- <p class="desc">Five mountain layers with parallax translation and blur-based depth-of-field driven by scroll.</p>
+ <span class="desc" style="display:block">Five mountain layers with parallax translation and blur-based depth-of-field driven by scroll.</span>
</li>
</ul>
</body>