mirror of
https://github.com/neosubhamoy/neosubhamoy-portfolio.git
synced 2025-12-20 02:19:34 +05:30
(feat): changed share window animation with simple slide up
This commit is contained in:
@@ -100,7 +100,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</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">
|
<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>
|
<p class="self-start text-xl">Scan to Share</p>
|
||||||
<div class="bg-bg_primary p-5 rounded-lg my-3">
|
<div class="bg-bg_primary p-5 rounded-lg my-3">
|
||||||
|
|||||||
@@ -203,13 +203,11 @@ background: #38BDF8;
|
|||||||
|
|
||||||
@keyframes shareWindowShow {
|
@keyframes shareWindowShow {
|
||||||
from {
|
from {
|
||||||
width: 25vw;
|
bottom: -100vh;
|
||||||
height: 30vh;
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
to {
|
to {
|
||||||
width: 50vw;
|
bottom: 20vh;
|
||||||
height: 60vh;
|
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -231,13 +229,11 @@ background: #38BDF8;
|
|||||||
|
|
||||||
@keyframes shareWindowShow {
|
@keyframes shareWindowShow {
|
||||||
from {
|
from {
|
||||||
width: 25vw;
|
bottom: -100vh;
|
||||||
height: 30vh;
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
to {
|
to {
|
||||||
width: 90vw;
|
bottom: 20vh;
|
||||||
height: 45vh;
|
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user