Template:Glitch Text Effect/styles.css: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) No edit summary |
Tesinormed (talk | contribs) No edit summary |
||
| Line 11: | Line 11: | ||
from { |
from { |
||
top: -6px; |
top: -6px; |
||
left: -6px; |
|||
} |
|||
25% { |
|||
top: -6px; |
|||
left: 0; |
|||
} |
|||
50% { |
|||
top: 0; |
|||
left: 6px; |
|||
} |
|||
75% { |
|||
top: 0; |
|||
left: -6px; |
left: -6px; |
||
} |
} |
||
Revision as of 07:57, March 8, 2025
.glitch-effect {
position: relative;
animation-duration: 4s;
animation-name: glitch;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-timing-function: linear;
}
@keyframes glitch {
from {
top: -6px;
left: -6px;
}
25% {
top: -6px;
left: 0;
}
50% {
top: 0;
left: 6px;
}
75% {
top: 0;
left: -6px;
}
to {
top: 6px;
left: 6px;
}
}