Lessen glitch effect
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
0aaf47909f
commit
1a4c18cce0
@ -1,12 +1,15 @@
|
|||||||
|
.glitch-image:hover, .glitch:hover, a:hover {
|
||||||
|
animation-iteration-count: infinite
|
||||||
|
}
|
||||||
|
|
||||||
.glitch-image {
|
.glitch-image {
|
||||||
animation: shift 3s ease-in-out infinite alternate;
|
animation: shift 3s ease-in-out .2s alternate;
|
||||||
}
|
}
|
||||||
|
|
||||||
.glitch, a:hover {
|
.glitch, a:hover {
|
||||||
position: relative;
|
position: relative;
|
||||||
text-shadow: 0.05em 0 0 var(--primary-hover), -0.03em -0.04em 0 var(--primary), 0.025em 0.04em 0 var(--primary-inverse);
|
text-shadow: 0.05em 0 0 var(--primary-hover), -0.03em -0.04em 0 var(--primary), 0.025em 0.04em 0 var(--primary-inverse);
|
||||||
animation: glitch 2s ease alternate infinite, shift 2s ease alternate infinite;
|
animation: glitch 2s ease alternate, shift 2s ease alternate;
|
||||||
|
|
||||||
&::before, &::after {
|
&::before, &::after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
Loading…
Reference in New Issue
Block a user