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
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;
	}
}