From 1c421d1e169ccb606c282f021fb80b4d0e3779f7 Mon Sep 17 00:00:00 2001 From: KOWSALYA SRIGANESH <125453435+Kowsalyasriganesh@users.noreply.github.com> Date: Sat, 18 Mar 2023 10:40:55 +0530 Subject: [PATCH] Create ANIME BUTTON --- .../Buttons/kowsalya.s_21AIA50/ANIME BUTTON | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 public/Buttons/kowsalya.s_21AIA50/ANIME BUTTON diff --git a/public/Buttons/kowsalya.s_21AIA50/ANIME BUTTON b/public/Buttons/kowsalya.s_21AIA50/ANIME BUTTON new file mode 100644 index 000000000..69d5c7efe --- /dev/null +++ b/public/Buttons/kowsalya.s_21AIA50/ANIME BUTTON @@ -0,0 +1,34 @@ + + +.anime-button { + background-color: #f2f2f2; + border: none; + color: black; + padding: 12px 24px; + text-align: center; + text-decoration: none; + display: inline-block; + font-size: 16px; + font-weight: bold; + cursor: pointer; + position: relative; + overflow: hidden; +} + +.anime-button:before { + content: ""; + position: absolute; + top: 50%; + left: 50%; + width: 0; + height: 0; + background-color: #ffffff; + border-radius: 50%; + transform: translate(-50%, -50%); + transition: width 0.2s ease-out, height 0.2s ease-out; +} + +.anime-button:hover:before { + width: 200px; + height: 200px; +}