Quantcast
Channel: Why is justify-content space-between not doing anything? - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by Rene van der Lende for Why is justify-content space-between not...

justify-content only work in the flex-box main-axis direction, meaning flex-direction: rowYou need to use align-content which is supposed to work for the cross-axis, flex-direction: column.Reference...

View Article



Answer by shadeed9 for Why is justify-content space-between not doing anything?

You should add a height for .flex-container and then add overflow-y: scroll to the header to make the nav scrollable.nav.flex-container{ height: 100%; align-items: center; flex-direction: column;...

View Article

Answer by Stickers for Why is justify-content space-between not doing anything?

The height of a block element defaults to the height of the block's content, unless you define a specific height. And flexbox justify-content defines how the browser distributes space between and...

View Article

Why is justify-content space-between not doing anything?

I'm trying to get the top-nav and bot-nav divisions to separate vertically by using justify-content: space-between. However, it isn't doing anything. Can someone point out what I'm doing wrong...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>