Add scale effect in zap icon pulse animation
This commit is contained in:
parent
38571da24a
commit
d10d30baa3
1 changed files with 4 additions and 3 deletions
|
@ -1,12 +1,13 @@
|
|||
.animate {
|
||||
--saturation: 70%;
|
||||
stroke: hsl(46deg var(--saturation) 45%);
|
||||
transform: scale(1);
|
||||
animation: zap-pulse 0.7s 0s ease-in-out none normal infinite;
|
||||
}
|
||||
|
||||
// prettier-ignore
|
||||
@keyframes zap-pulse {
|
||||
0% { stroke: hsl(46deg var(--saturation) 45%); }
|
||||
50% { stroke: hsl(46deg var(--saturation) 95%); }
|
||||
100% { stroke: hsl(46deg var(--saturation) 45%); }
|
||||
0% { stroke: hsl(46deg var(--saturation) 45%); transform: scale(1); }
|
||||
50% { stroke: hsl(46deg var(--saturation) 95%); transform: scale(1.1); }
|
||||
100% { stroke: hsl(46deg var(--saturation) 45%); transform: scale(1); }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue