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 10: | Line 10: | ||
@keyframes glitch { |
@keyframes glitch { |
||
from { |
from { |
||
text-shadow: |
text-shadow: 1px 0 1px red; |
||
left: -1px; |
left: -1px; |
||
} |
} |
||
to { |
to { |
||
text-shadow: |
text-shadow: -1px 0 1px red; |
||
left: 1px; |
left: 1px; |
||
} |
} |
||
Revision as of 08:04, March 8, 2025
.glitch-effect {
position: relative;
animation-duration: 0.2s;
animation-name: glitch;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-timing-function: linear;
}
@keyframes glitch {
from {
text-shadow: 1px 0 1px red;
left: -1px;
}
to {
text-shadow: -1px 0 1px red;
left: 1px;
}
}