WEBLEB
Inicio
Editora de código
Iniciar sesión
Pro
Español
English
Français
Español
Português
Deutsch
Italiano
हिंदी
Animación de Texto en HTML y CSS
4983
creativewiz
Abrir en el editor
Publica tu código
Recomendado
23 June 2025
Ejemplo de formulario de inicio de sesión HTML
13 May 2023
Botón de descarga animado
11 August 2025
Plantilla HTML con P5.js y CSS
HTML
Copy
Text Animation
C
O
D
I
N
G
CSS
Copy
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Indie+Flower&display=swap'); *{ margin: 0; padding: 0; box-sizing: border-box; } body { background: #111; display: flex; align-items: center; justify-content: center; height: 100vh; font-family: 'Fredoka One', impact; } h1 { font-size: 70px; color: rgb(200,200,210); height: 100px; } span { position: relative; top: 40px; animation: move 0.5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * 0.15s); } @keyframes move { 100%{ top: -30px; text-shadow: 0 3px red, 0 6px grey, 0 9px gold, 0 11px green, 0 13px purple, 0 14px cyan, 0 15px orangered; } }
JS
Copy
/* Replace with your JS Code (Leave empty if not needed) */