1
1
mirror of https://github.com/primer/css.git synced 2024-12-01 04:21:12 +03:00

Add transitions

This commit is contained in:
simurai 2020-04-20 21:11:32 +09:00
parent 5f465bb506
commit 7b0173716b

View File

@ -20,16 +20,19 @@
// stylelint-disable-next-line primer/borders
border: $border-width $border-style transparent;
border-radius: $border-radius;
transition: border-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
&:hover,
&:focus {
text-decoration: none;
border-color: $border-color;
outline: 0;
transition-duration: 0.1s;
}
&:active {
border-color: $border-gray-light;
transition: none;
}
}