mirror of
https://github.com/primer/css.git
synced 2024-12-01 04:21:12 +03:00
Add transitions
This commit is contained in:
parent
5f465bb506
commit
7b0173716b
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user