Skip to content

Commit

Permalink
buttons active state defined
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-cki committed Oct 22, 2019
1 parent e95dc72 commit 04fba27
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,15 @@ button {
-moz-box-shadow: 0px 8px 0px 0px var(--main-button-shadow);
box-shadow: 0px 8px 0px 0px var(--main-button-shadow);
}

button:focus {
outline: 0;
}

button:active {
-webkit-box-shadow: 0px 2px 0px 0px var(--main-button-shadow);
-moz-box-shadow: 0px 2px 0px 0px var(--main-button-shadow);
box-shadow: 0px 2px 0px 0px var(--main-button-shadow);
transform: translateY(4px);
}

0 comments on commit 04fba27

Please sign in to comment.