.buttons { display: flex; align-items: center; } .buttons button + * { margin-left: 10px; }