From 5b5bc9e0d79877f0554278ab6a609ef688858d8f Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Sat, 30 Dec 2023 12:53:40 +0100 Subject: Add locomotive --- apps/website/src/styles/global.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'apps/website/src/styles') diff --git a/apps/website/src/styles/global.css b/apps/website/src/styles/global.css index 807e345..f29f0f0 100644 --- a/apps/website/src/styles/global.css +++ b/apps/website/src/styles/global.css @@ -24,7 +24,7 @@ html, body { - @apply text-[15px] md:text-[16px] lg:text-[19px] overflow-x-hidden; + @apply text-[15px] md:text-[16px] lg:text-[19px] overflow-hidden; } a { @@ -32,8 +32,10 @@ } } -.fp-overflow:focus-visible { - @apply outline-none ring-0 ; +[data-scroll-container], [data-scroll-section] { + transform-style: preserve-3d; + will-change: transform; + perspective: 1px; } main { -- cgit