WEBLEB
Accueil
Éditeur
Connexion
Pro
Français
English
Français
Español
Português
Deutsch
Italiano
हिंदी
danse de formes interactive
310
ByBy.inc
Ouvrir dans l'éditeur
Publiez votre code
Recommandé
16 February 2024
Défilement infini de tags
6 August 2025
Morphing de particules avec Three.js
28 July 2025
code bloom
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) */