1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2025-12-19 21:43:06 +05:30

(feat): changed share window animation with simple slide up

This commit is contained in:
2023-11-27 20:55:07 +05:30
parent d950280ef7
commit cf0de4f37e
2 changed files with 10 additions and 14 deletions

View File

@@ -100,7 +100,7 @@
</div>
</div>
</div>
<div id="sharewindow" class="sharewindow w-[90vw] md:w-[50vw] mx-auto py-6 fixed inset-x-0 bottom-[20vh] z-40 justify-between items-center bg-bg_secondary rounded-xl hidden">
<div id="sharewindow" class="sharewindow w-[90vw] md:w-[50vw] mx-auto py-6 fixed inset-x-0 bottom-[20vh] z-40 justify-between bg-bg_secondary rounded-xl hidden">
<div class="shareviaqr w-fit h-full flex flex-col items-center py-3 px-7">
<p class="self-start text-xl">Scan to Share</p>
<div class="bg-bg_primary p-5 rounded-lg my-3">

View File

@@ -203,13 +203,11 @@ background: #38BDF8;
@keyframes shareWindowShow {
from {
width: 25vw;
height: 30vh;
bottom: -100vh;
opacity: 0;
}
to {
width: 50vw;
height: 60vh;
bottom: 20vh;
opacity: 1;
}
}
@@ -231,13 +229,11 @@ background: #38BDF8;
@keyframes shareWindowShow {
from {
width: 25vw;
height: 30vh;
bottom: -100vh;
opacity: 0;
}
to {
width: 90vw;
height: 45vh;
bottom: 20vh;
opacity: 1;
}
}