WEBLEB
Accueil
Éditeur
Connexion
Pro
Français
English
Français
Español
Português
Deutsch
Italiano
हिंदी
l'énigme du temps
454
ByBy.inc
Ouvrir dans l'éditeur
Publiez votre code
Recommandé
16 March 2024
Code HTML du menu latéral
31 October 2023
Code du jeu "Le Cercle"
17 May 2025
jeu du serpent
HTML
Copy
.clock { animation: pulse 4s infinite; }
CSS
Copy
body { display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; background-color: #1a1a1a; overflow: hidden; font-family: monospace; color: #fff; } /*container do relogio */ .clock-container { position: relative; width: 200px; height: 200px; } /*relogio pulsando */ .clock { width: 100%; height: 100%; border: 5px solid #00ff88; border-radius: 50%; position: relative; animation: pulse 4s infinite; } /*ponteiros */ .hand { position: absolute; bottom: 50%; left: 50%; width: 4px; background-color: #ff0077; transform-origin: bottom; animation: dissolve 4s infinite; } /*ponteiro da hora */ .hour-hand { height: 60px; animation-delay: 0.5s; } /* ponteiro do minuto */ .minute-hand { height: 80px; animation-delay: 1s; } /*codigo depois */ .code-snippet { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 14px; color: #00ff88; opacity: 0; animation: reveal-code 4s infinite; white-space: pre; } /*animações */ @keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.2); opacity: 0.5; } } @keyframes dissolve { 0%, 100% { transform: rotate(0deg) translateY(0); opacity: 1; } 50% { transform: rotate(360deg) translateY(-20px); opacity: 0; } } @keyframes reveal-code { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
JS
Copy
/* Replace with your JS Code (Leave empty if not needed) */