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 { |
||
text-shadow: 2px 0 1px #f009; |
text-shadow: 2px 0 1px #f009; |
||
left: - |
left: -2px; |
||
} |
} |
||
to { |
to { |
||
text-shadow: -2px 0 1px #f009; |
text-shadow: -2px 0 1px #f009; |
||
left: |
left: 2px; |
||
} |
} |
||
} |
} |
||
Revision as of 08:05, 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: 2px 0 1px #f009;
left: -2px;
}
to {
text-shadow: -2px 0 1px #f009;
left: 2px;
}
}