html, body { margin: 0; padding: 0; } #flex-center { display: flex; justify-content: center; align-items: center; min-height: 100vh; } #container { font-size: xx-large; border: 1px solid #000; width: fit-content; } #view { width: 246px; height: 60px; background-color: #ccc; border: 1px solid #000; } .buttons-flex { display: flex; } .button { background-color: #fafafa; aspect-ratio: 1/1; width: 60px; display: flex; justify-content: center; align-items:center; border: 1px solid #000; cursor: pointer; } .button:active { background-color: #888; }