Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

🐛 fix: safari mask bug fix

Dillion Vermac5d4f177eede
diff --git a/components/landing/hero.tsx b/components/landing/hero.tsx
index f280dce9..6c1ffc80 100644
--- a/components/landing/hero.tsx
+++ b/components/landing/hero.tsx
@@ -37,7 +37,7 @@ export default function Hero() {
<div
className={cn(
`absolute inset-0 block h-full w-full animate-gradient bg-gradient-to-r from-[#ffaa40]/50 via-[#9c40ff]/50 to-[#ffaa40]/50 bg-[length:var(--bg-size)_100%] p-[1px] [border-radius:inherit] [mask:linear-gradient(#fff_0_0)_content-box,linear-gradient(#fff_0_0)]`,
- `[--webkit-mask-composite:xor] [mask-composite:xor]`,
+ `[-webkit-mask-composite:xor] [mask-composite:xor]`,
)}
/>
</Link>