html, body { width: 100px; } .button { margin: 3% auto; padding: 4px; text-align: center; font-size: 1.5em; cursor: pointer; } .beast:hover { background-color: #CFF2F2; } .beast { background-color: #E5F2F2; } .clear { background-color: #FBFBC9; } .clear:hover { background-color: #EAEA9D; }