Hello, I’m learning web dev by following MDN Learn web development. I’m just getting started with Flexbox, the side note in Flexbox - Learn web development | MDN is not clear to me:
Note : You can also set a
display
value ofinline-flex
if you wish to lay out items as flexible boxes.
First of all,there are double spaces between “out” and “items” , one is real, another is
. Why double spaces? Secondly, according to The box model - Learn web development | MDN, display: flex
is block+flex, so display: inline-flex
is inline+flex, the side doesn’t explain the difference, should it?