WEBLEB
Início
Editor
Entrar
Pro
Português
English
Français
Español
Português
Deutsch
Italiano
हिंदी
Sinfonia do estado flutuante
101
ByBy.inc
Abrir no Editor
Publique Seu Código
Precisa de um site?
Recomendado
14 January 2025
Exemplo de página da Web do portfólio
25 May 2025
Melhor Portfólio com Login e Postagens do Sistema
29 May 2025
Painel de administração do AdminHub v2.1
HTML
Copy
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; } .box { width: 100px; height: 100px; background-color: #F06292; border-radius: 10px; position: relative; /* Para posicionar o pseudoelemento */ margin: 20px; animation: hover-glow 0.5s linear infinite; } .box::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(255, 255, 255, 0.1); border-radius: 10px; transform: scale(0.9); /* Redimensiona o pseudoelemento */ } /* */ @keyframes hover-glow { 0% { transform: translateY(0); border-radius: 10px; } 100% { transform: translateY(-10px); border-radius: 0; } } /* Configurações de hover */ .box:hover { background-color: #D81B60; /* Muda a cor no hover */ transform: translateY(-2px); /* Tranform posição*/ box-shadow: 0 4px 8px rgba(248, 98, 186, 0.8); /* Adiciona sombra */ }
JS
Copy
/* Replace with your JS Code (Leave empty if not needed) */