mirror of
https://github.com/primer/css.git
synced 2024-11-28 22:01:43 +03:00
Merge pull request #491 from primer/hover-grow-bug
Add `backface-visibility` to `.hover-grow`
This commit is contained in:
commit
d6ed3606a1
@ -176,6 +176,7 @@
|
|||||||
/* Increase scale of an element on hover */
|
/* Increase scale of an element on hover */
|
||||||
.hover-grow {
|
.hover-grow {
|
||||||
transition: transform 0.3s;
|
transition: transform 0.3s;
|
||||||
|
backface-visibility: hidden;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
transform: scale(1.025);
|
transform: scale(1.025);
|
||||||
|
Loading…
Reference in New Issue
Block a user