1
1
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:
Jon Rohan 2018-06-13 15:23:06 -07:00 committed by GitHub
commit d6ed3606a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);