Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Flexbox isn't work in chrome Reply To: Flexbox isn't work in chrome

#248516
robkwood
Participant

It is working, you just haven’t told it to do very much :-)

By default, setting display: flex; will caused flexed elements to sit next to each other horizontally. Try adding something like justify-content: center; to see a more noticeable change, and give this great guide to Flexbox’s functionality a read – https://css-tricks.com/snippets/css/a-guide-to-flexbox/ in order to get it doing what you want.