I want to display
Text1Text2Text3Text4Text5Text6Text7
at the top with text alignment using justifyContent: 'space-between'
.
However, when I tried to do so, all texts ended up at the top.
<div style={{display: 'flex-item', flex: 1, margin: 0, padding: 0}}>
<div style={{float: 'left', flex: 1, display: 'flex-item'}}>
<div>Place me below ul</div>
</div>
</div>
I am puzzled as to why justifyContent: 'space-between'
is not taking effect. What could possibly be wrong in my implementation?