mirror of
https://github.com/neosubhamoy/neosubhamoy-portfolio.git
synced 2025-12-20 01:09:35 +05:30
(feat): changed share window animation with simple slide up
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user