WEBLEB
Home
Editor
Login
Pro
English
English
Français
Español
Português
Deutsch
Italiano
हिंदी
The overwhelm algorithm
620
byby.createsite
Open In Editor
Publish Your Code
Recommended
22 June 2025
the enigma of time
12 July 2025
Password Generator from TheDoc
14 September 2024
Fishbowl - Save the fish
HTML
Copy
Notificação 1
Notificação 2
Notificação 3
Notificação 4
Notificação 5
Notificação 6
Notificação 7
Notificação 8
Notificação 9
Notificação 10
Notificação 11
Notificação 12
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; } .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: #000; } .notification { position: absolute; width: 100px; height: 100px; border-radius: 10px; background-color: #fff; color: #333; font-family: sans-serif; display: flex; flex-direction: column; justify-content: center; align-items: center; } .animation-container .notification-container { /* Container para as notificações.*/ position: relative; /* Garante que as notificações sejam posicionadas corretamente*/ display: flex; /* Permite que as notificações sejam dispostas em linha*/ gap: 10px; /* Espaçamento entre as notificações*/ /* Animação para criar o efeito de repetição infinita e preenchimento do espaço*/ animation: notification-loop 20s linear infinite; } .notification-container .notification { /* Styles para as notificações individuais*/ margin-left: 50px; /* Cria um deslocamento inesperado para emular a sensação de scroll infinito*/ } .notification::before { content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%; background-color: #f00; animation: expand-red 2s linear infinite; } @keyframes notification-loop { 0% { transform: translateX(0); /* Posição inicial das notificações*/ } 20% { transform: translateX(100%); /* Animação para deslocar as notificações*/ opacity: 0.8; /* Diminui a opacidade para criar o efeito de sobreposição*/ } 40% { transform: translateX(200%); opacity: 0.8; } 60% { transform: translateX(300%); /* Animação para continuar o deslocamento */ opacity: 0.6; } 80% { transform: translateX(400%); opacity: 0; } 100% { transform: translateX(500%); opacity: 0; /* Redução da opacidade para desaparecer*/ } } @keyframes expand-red { 0% { width: 0%; } 100% { width: 100%; } }
JS
Copy
/* Replace with your JS Code (Leave empty if not needed) */