Skip to content

Commit

Permalink
Added effects to card
Browse files Browse the repository at this point in the history
  • Loading branch information
FSBM committed Oct 8, 2024
1 parent aeefcc1 commit 431dc19
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions assets/css/darkmode.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ body.nav-active { overflow: hidden; }

.btn {
background-color: var(--charcoal-black);

}


Expand Down Expand Up @@ -231,6 +232,13 @@ body.nav-active { overflow: hidden; }
padding: 24px;
border-radius: var(--radius-8);
transition: var(--transition);
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 20px;
border:1px solid rgba(255, 255, 255, 0.18);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
transition: all 0.5s;
}

.card:is(:hover, :focus-within) { box-shadow: var(--shadow-1); }
Expand Down
7 changes: 7 additions & 0 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,13 @@ body.nav-active {
padding: 24px;
border-radius: var(--radius-8);
transition: var(--transition);
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 20px;
border:1px solid rgba(255, 255, 255, 0.18);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
transition: all 0.5s;
}

.card:is(:hover, :focus-within) {
Expand Down

0 comments on commit 431dc19

Please sign in to comment.