Galaxy Glimmer Keyboard - MeggiTools
Run
Toggle Theme
Share Link
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Galaxy Glimmer Keyboard</title> <style> body { font-family: 'Courier New', Courier, monospace; background: radial-gradient(circle, #0f2027, #203a43, #2c5364); display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .keyboard-container { background: rgba(255, 255, 255, 0.1); padding: 20px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); text-align: center; animation: fadeIn 1s ease-out; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .key-row { margin: 10px 0; } .key { display: inline-block; background: rgba(255, 255, 255, 0.2); color: #fff; font-size: 20px; width: 60px; height: 60px; line-height: 60px; margin: 5px; border-radius: 10px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); cursor: pointer; transition: background 0.3s, transform 0.2s; } .key:active { background: rgba(255, 255, 255, 0.5); transform: scale(0.95); } .key.emoji { font-size: 24px; } .display { width: 100%; height: 50px; border: 2px solid rgba(255, 255, 255, 0.2); border-radius: 5px; margin-bottom: 20px; font-size: 24px; padding: 10px; box-sizing: border-box; text-align: left; color: #fff; background: rgba(255, 255, 255, 0.1); } </style> </head> <body> <div class="keyboard-container"> <div class="display" id="display"></div> <div class="key-row"> <div class="key" data-key="Q">Q</div> <div class="key" data-key="W">W</div> <div class="key" data-key="E">E</div> <div class="key" data-key="R">R</div> <div class="key" data-key="T">T</div> <div class="key" data-key="Y">Y</div> <div class="key" data-key="U">U</div> <div class="key" data-key="I">I</div> <div class="key" data-key="O">O</div> <div class="key" data-key="P">P</div> </div> <div class="key-row"> <div class="key" data-key="A">A</div> <div class="key" data-key="S">S</div> <div class="key" data-key="D">D</div> <div class="key" data-key="F">F</div> <div class="key" data-key="G">G</div> <div class="key" data-key="H">H</div> <div class="key" data-key="J">J</div> <div class="key" data-key="K">K</div> <div class="key" data-key="L">L</div> </div> <div class="key-row"> <div class="key" data-key="Z">Z</div> <div class="key" data-key="X">X</div> <div class="key" data-key="C">C</div> <div class="key" data-key="V">V</div> <div class="key" data-key="B">B</div> <div class="key" data-key="N">N</div> <div class="key" data-key="M">M</div> <div class="key" data-key="🌌" class="emoji">🌌</div> <div class="key" data-key="⭐" class="emoji">⭐</div> <div class="key" data-key="🌠" class="emoji">🌠</div> </div> <div class="key-row"> <div class="key" data-key=" " style="width: 300px;">Space</div> </div> </div> <script> const keys = document.querySelectorAll('.key'); const display = document.getElementById('display'); keys.forEach(key => { key.addEventListener('click', () => { display.textContent += key.getAttribute('data-key'); }); }); </script> </body> </html>