UNPKG

one-yeheng

Version:

A simple Tetris game

34 lines (30 loc) 621 B
body { display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; background-color: #333; color: white; font-family: Arial, sans-serif; } #game-board { text-align: center; } #tetris { border: 2px solid white; background-color: #222; } #start-button { margin-top: 20px; padding: 10px 20px; font-size: 16px; cursor: pointer; background-color: #4CAF50; color: white; border: none; border-radius: 5px; } #start-button:hover { background-color: #45a049; }