mirror of
https://github.com/primer/css.git
synced 2024-12-01 12:42:32 +03:00
hover grow css
This commit is contained in:
parent
57075a29ed
commit
12bd248ea9
@ -151,3 +151,13 @@
|
||||
transform: scale3d(1, 1, 1);
|
||||
}
|
||||
}
|
||||
|
||||
/* Increase scale of an element on hover */
|
||||
|
||||
.hover-grow {
|
||||
transition: transform 0.3s;
|
||||
|
||||
&:hover {
|
||||
transform: scale(1.025);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user