WEBLEB
Accueil
Éditeur
Connexion
Pro
Français
English
Français
Español
Português
Deutsch
Italiano
हिंदी
Extrait d'animation de mémoire CSS
359
ByBy.inc
Ouvrir dans l'éditeur
Publiez votre code
Recommandé
25 July 2025
Plateforme de négociation minière : échangez des métaux et des minéraux
25 September 2025
Disposition de carte CSS avec arrière-plan dégradé
23 August 2025
Modèle HTML de boutique de commerce électronique Tailwind CSS
HTML
Copy
CSS
Copy
* { margin: 0; padding: 0; box-sizing: border-box; } body { background-color: #181818; /* Fundo preto para destacar o brilho da nostalgia */ display: flex; align-items: center; justify-content: center; height: 100vh; overflow: hidden; } .selector { color: #F92672; } .property { color: #66D9EF; } .value-number { color: #AE81FF; } .value-string { color: #E6DB74; } .value-color { color: #A6E22E; } .brace { color: #F8F8F2; } .comment { color: #75715E; } .function { color: #A6E22E; } .animation-container { position: absolute; top: 75%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 100%; height: 50%; overflow: hidden; background:transparent; } .memory { /* Fragmentação e reconfiguração da memória */ position: absolute; width: 80px; height: 80px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent); /* gradiente de névoa */ clip-path: polygon(50% 0%, 100% 25%, 75% 100%, 0% 100%, 25% 75%); animation: fadeGlitch 2s linear infinite; } .memory::before { content: ""; position: absolute; top: 0; left: 0; width: 80px; height: 80px; background:linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent); clip-path: polygon(50% 0%, 100% 25%, 75% 100%, 0% 100%, 25% 75%); animation: fadeGlitch 2s linear infinite; } @keyframes fadeGlitch { /* A animação de fade cria o efeito de glitch */ 0% { opacity: 1; transform: rotate(0deg); } 50% { opacity: 0.2; transform: rotate(180deg); } 100%{ opacity: 1; transform: rotate(0deg); } }
JS
Copy
/* Replace with your JS Code (Leave empty if not needed) */