WEBLEB
होम
संपादक
लॉग इन करें
Pro
हिंदी
English
Français
Español
Português
Deutsch
Italiano
हिंदी
नकली वास्तविकता बदलाव
27
ByBy.inc
संपादक में खोलें
अपना कोड प्रकाशित करें
अनुशंसित
19 June 2025
वास्तविकता को कोड करना
31 July 2025
वास्तविकता मशीन में गड़बड़ी
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; } /* Começa a animação */ .sistema { width: 100px; height: 100px; background-color: #333; position: relative; animation: glitch 1s infinite; /* Ativa a animação loop */ } @keyframes glitch { 0% { background-color: #333; /* Cor original */ } 5% { /* Cor altera rapidamente */ background-color: #666; } 10% { background-color: #333; } 15% { /* Cor altera novamente */ background-color: #999; } 20% { background-color: #666; } 25%, 75%, 90%, 95% { /* Cor retorna à original */ background-color: #333; } 100% { /* Finaliza o loop */ background-color: #333; } }
JS
Copy
/* Replace with your JS Code (Leave empty if not needed) */