From a5ce6c2efc42840ac749084c3d9fa476699732af Mon Sep 17 00:00:00 2001 From: BOT Alex <44818698+MagicBOTAlex@users.noreply.github.com> Date: Fri, 29 Dec 2023 02:19:40 +0100 Subject: [PATCH] Added typing css animation --- src/App.svelte | 6 ++-- src/app.css | 17 ++++++++++ src/lib/ScrollTextComponent.svelte | 53 +++++++++++++++++++++++------- 3 files changed, 61 insertions(+), 15 deletions(-) diff --git a/src/App.svelte b/src/App.svelte index e695b65..92941da 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -4,11 +4,9 @@ import ScrollTextComponent from './lib/ScrollTextComponent.svelte' -
+
-
- -
+
-
-
- ================================================= +
+
+ We are
{#each {length: chunks} as _, i} -
+
{scrollPosition} +
+

{i} The cat and the hat.

+
{/each}