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

Commit cb9995d

Browse files
authored
fix(fab): Add hover/focus elevation (#1331)
1 parent 63a4d82 commit cb9995d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/mdc-fab/_mixins.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ $mdc-fab-icon-enter-duration_: 180ms;
7474
-webkit-appearance: none;
7575
overflow: hidden;
7676

77+
&:hover,
78+
&:focus {
79+
@include mdc-elevation(8);
80+
}
81+
7782
&:active {
7883
@include mdc-elevation(12);
7984
}

0 commit comments

Comments
 (0)