WEBLEB
Início
Editor
Entrar
Pro
Português
English
Français
Español
Português
Deutsch
Italiano
हिंदी
dança de formas interativas
123
ByBy.inc
Abrir no Editor
Publique Seu Código
Precisa de um site?
Recomendado
9 November 2024
Modelo de site de produto HTML
13 November 2024
Efeito de moldura em imagens usando CSS puro
25 November 2024
presente de aniversário
HTML
Copy
.animationAnimation
animation
:
animateCaixa1
1s
linear
infinite alternate-reverse;
CSS
Copy
* { margin: 0; padding: 0; box-sizing: border-box; } body { background-color: #000; display: flex; align-items: center; justify-content: center; height: 100vh; overflow: hidden; } .codigo { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: #272822; color: #F8F8F2; font-family: 'Consolas', 'Monaco', monospace; font-size: 29px; padding: 20px; border-radius: 8px; white-space: pre-line; text-align: left; line-height: 1.6; max-height: 50%; width: 100%; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); } /* -------------------- Animando a caixinha 1 -------------------- */ .animationAnimation{ animation: animateCaixa1 1s linear infinite alternate-reverse; } @keyframes animateCaixa1 { 0% { transform: translateY(0); opacity: 1; } to 100% { transform: translateY(20px); opacity: 0; } } .animation-container { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 100%; height: 50%; overflow: hidden; background-color: #111; }
JS
Copy
/* Replace with your JS Code (Leave empty if not needed) */