Basically my items start at the center, but I want even distribution so the first item starts not in the center but a bit to the left.
some css should do the job
.navbar.center .navbar-inner {
text-align: center;
}
This is a minimal example I could come up with, https://jsfiddle.net/o8emug03/15/ .
Basically, you have to use a display: flex; justify-content: center;
display: flex; justify-content: center;
in your navbar, and append the elements you wish to display inside.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.