From 3269cca77eae6c9f5508c4a64a1405ed3d9007fb Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Fri, 9 Aug 2024 14:29:43 +0700 Subject: add highligth button whatsapp --- src/core/components/layouts/BasicLayout.module.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/core/components/layouts/BasicLayout.module.css (limited to 'src/core/components/layouts/BasicLayout.module.css') diff --git a/src/core/components/layouts/BasicLayout.module.css b/src/core/components/layouts/BasicLayout.module.css new file mode 100644 index 00000000..b89aca9f --- /dev/null +++ b/src/core/components/layouts/BasicLayout.module.css @@ -0,0 +1,13 @@ +.overlay-highlight { + @apply fixed top-0 left-0 w-full h-full bg-[#4FB84A]/50 z-[900]; + animation: closeOverlay 10s forwards; + } + + @keyframes closeOverlay { + from { + clip-path: circle(100%); + } + to { + clip-path: circle(var(--button-radius) at var(--button-x) var(--button-y)); + } + } -- cgit v1.2.3