Skip to content

Commit

Permalink
Merge pull request #339 from FSBM/main
Browse files Browse the repository at this point in the history
Added effects to card
  • Loading branch information
PriyaGhosal authored Oct 9, 2024
2 parents e6debd9 + 431dc19 commit fa91e33
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 fa91e33

Please sign in to comment.