.parent { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; }
.child { flex: 1 0 auto; }