diff --git a/oneinai.html b/oneinai.html index 0986f06..5c760fe 100644 --- a/oneinai.html +++ b/oneinai.html @@ -715,8 +715,8 @@ @keyframes scroll-reveal { from { - opacity: 0; - transform: translateY(34px); + opacity: 1; + transform: translateY(24px); } to { opacity: 1; @@ -724,7 +724,12 @@ } } - @supports (animation-timeline: view()) { + .reveal-on-scroll { + opacity: 1; + transform: none; + } + + @supports (animation-timeline: view()) and (animation-range: entry 8% cover 34%) { .reveal-on-scroll { animation: scroll-reveal linear both; animation-timeline: view();