1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2025-12-19 23:59:35 +05:30

(feat): added address card on contact page with hover animation

This commit is contained in:
2023-12-12 21:39:16 +05:30
parent aa5d70355d
commit 7efeac3b4d
6 changed files with 68 additions and 19 deletions

View File

@@ -44,11 +44,11 @@ background: #38BDF8;
animation: slide-up 0.5s ease-in-out;
}
.aboutcontainer:hover::before {
.hoverAnimatedContainer:hover::before {
opacity: 1;
}
.aboutcontainer::before {
.hoverAnimatedContainer::before {
background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.06), transparent 40%);
border-radius: inherit;
content: "";
@@ -57,7 +57,6 @@ background: #38BDF8;
position: absolute;
left: 0px;
top: 0px;
z-index: 2;
opacity: 0;
transition: opacity 500ms;
}