.buttons { display: flex; } .buttons button + button { margin-left: 10px; }