Add basic animation
This commit is contained in:
@@ -22,7 +22,10 @@ const WrapperTag = as;
|
||||
</div>
|
||||
<div
|
||||
class:list={[
|
||||
twMerge('relative mx-auto max-w-7xl px-4 md:px-6 py-12 md:py-16 lg:py-20 text-default', containerClass),
|
||||
twMerge(
|
||||
'relative mx-auto max-w-7xl px-4 md:px-6 py-12 md:py-16 lg:py-20 text-default intersect-once intersect-quarter intercept-no-queue motion-safe:md:opacity-0 motion-safe:md:intersect:animate-fade',
|
||||
containerClass
|
||||
),
|
||||
{ dark: isDark },
|
||||
]}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user