+ 1
Any way to animate a text on html?
Urgent
3 Respuestas
+ 3
Like this (using CSS):<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<style>
h1 {
transform-box: fill-box;
animation: anim 5s linear infinite;
transform-origin: 50% 50%;
}
@keyframes anim{
0% {
transform: translateX(-100%);
}
100%{
transform:translateX(100%);
}
}
</style>
</head>
<body>
<h1>Animated Text</h1>
</body>
</html>
0
Thank you so much guysss