From c8dd0b22eb18d15ec0b291bc2f436c87931ad33c Mon Sep 17 00:00:00 2001 From: Alexander Mahr Date: Sat, 15 Feb 2025 18:49:48 +0100 Subject: [PATCH] infinity scroll in both directions --- app/assets/index.html | 167 +++++++++--------------------------------- 1 file changed, 36 insertions(+), 131 deletions(-) diff --git a/app/assets/index.html b/app/assets/index.html index c37d5a8..5af9de4 100644 --- a/app/assets/index.html +++ b/app/assets/index.html @@ -10,6 +10,7 @@ box-sizing:border-box; } body,html{ +background-color:#ffa; margin:0; padding:0 } @@ -17,27 +18,20 @@ padding:0 .infinityScroll{ height:50vh; overflow:scroll; -border:1px solid red; position:relative; } -.space{ -background:linear-gradient(white, blue); -height:300%; -opacity:0.5; -} - - @@ -93,26 +86,10 @@ border: 3px solid blue;