Skip to content

Commit

Permalink
add a button press effect
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeiown committed Jun 18, 2024
1 parent 95b56c2 commit ab7c189
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,15 @@ body {
height: 35px;
flex: 1;
cursor: pointer;
transition: box-shadow 0.2s;

&:hover {
box-shadow: 0 0 13px rgba(0, 0, 0, 0.4);
}

&:active {
box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}
}
}

Expand Down

0 comments on commit ab7c189

Please sign in to comment.