Skip to content

Commit

Permalink
Enable daniel's fancy button effects
Browse files Browse the repository at this point in the history
  • Loading branch information
isovector committed Jul 16, 2020
1 parent d81490d commit 154805c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,17 @@ button#buy {
padding: 0.5em 0.8em;
font-size: 16pt;
cursor: pointer;
transform-style: preserve3d;
transition: 0.15s ease-in-out;
box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

button#buy:hover {
transform: translateY(-2px);
}

button#buy:active {
transform: translateY(0);
}

body {
Expand Down

0 comments on commit 154805c

Please sign in to comment.