better ripple effect
This commit is contained in:
parent
48b6db0d9a
commit
4e72efcde0
4 changed files with 17 additions and 12 deletions
|
|
@ -810,8 +810,9 @@ a {
|
|||
}
|
||||
&.on .light {
|
||||
background: $color-accent;
|
||||
}
|
||||
&.ripple .light {
|
||||
animation: ripple .25s linear;
|
||||
animation-fill-mode:backwards;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -895,11 +896,11 @@ a {
|
|||
background: $color-border;
|
||||
border-radius: 8rem;
|
||||
}
|
||||
&.on {
|
||||
&:after {
|
||||
&.on:after {
|
||||
background: $color-accent;
|
||||
}
|
||||
&.ripple:after {
|
||||
animation:ripple 0.25s linear;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue