Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
fix(fab): Add hover/focus elevation (#1331)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfranqueiro authored Sep 20, 2017
1 parent 63a4d82 commit cb9995d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/mdc-fab/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ $mdc-fab-icon-enter-duration_: 180ms;
-webkit-appearance: none;
overflow: hidden;

&:hover,
&:focus {
@include mdc-elevation(8);
}

&:active {
@include mdc-elevation(12);
}
Expand Down

0 comments on commit cb9995d

Please sign in to comment.