+ 1
How to make spacing in html5 ?
like if organizing navigation items and you want to evenly seperate them .
5 Answers
+ 21
If you want to make free space between navigation items, try flex.
In this case, you can use the justify-content property with the following values: space-between, space-around, space-evenly.
https://css-tricks.com/snippets/css/a-guide-to-flexbox/
https://css-tricks.com/flexbox-bar-navigation/
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox
+ 3
Just do any 15 minutes tutorial on YouTube on flexbox, and you ll feel awesome.
display : flex; is ur answer đ
and then
justify-content: space-around; or space-between;
+ 2
Just use margin or padding for menu elements
+ 2
or study real time from this code, thx to Burey
https://code.sololearn.com/Wqwc2gEQ7sR7/?ref=app
0
Use CSS e.g. min-width: 50px;