A
A
account-42017-03-20 20:50:18
css
account-4, 2017-03-20 20:50:18

How to stretch flex items to full width?

How to stretch content .menu-listto full width of container?
The main condition is that these elements should occupy the entire space of the container, without gaps, i.e. be close to each other. And you need to get by with flexbox. Cheto I got confused in these properties.
codepen.io/kodekrendel/pen/YZeYPw

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
ivan1kazantsev, 2017-03-20
@account-4

.menu-list li {
  flex-grow: 1;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question