Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.

Template:Glitch Text Effect/styles.css: Difference between revisions

Template page
Content deleted Content added
No edit summary
m LordSkorne7 moved page Template:Glitch effect/styles.css to Template:Glitch Text Effect/styles.css without leaving a redirect
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
.glitch-effect {
.glitch-effect {
position: relative;
position: relative;
animation-duration: 0.2s;
animation-duration: 0.025s;
animation-name: glitch;
animation-name: glitch;
animation-iteration-count: infinite;
animation-iteration-count: infinite;
Line 10: Line 10:
@keyframes glitch {
@keyframes glitch {
from {
from {
text-shadow: 2.5px 0 2px #ff0000aa;
left: -1.25px;
left: -1.25px;
}
}


to {
to {
text-shadow: -2.5px 0 2px #ff0000aa;
left: 1.25px;
left: 1.25px;
}
}

Latest revision as of 22:03, March 30, 2025

.glitch-effect {
	position: relative;
	animation-duration: 0.025s;
	animation-name: glitch;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-timing-function: linear;
}

@keyframes glitch {
	from {
		left: -1.25px;
	}

	to {
		left: 1.25px;
	}
}