d-flex do?d-flex to an element?The class d-flex sets the CSS display property to flex, turning the element into a flex container. This allows its child elements to be arranged using flexbox rules.
align-items property.The class align-items-center sets align-items: center; on the flex container, which vertically centers the flex items along the cross axis.
justify-content-between in Bootstrap flex?justify-content-between produce?justify-content controls horizontal spacing in flexbox.The class justify-content-between applies justify-content: space-between;, which places the first flex item at the start, the last at the end, and evenly distributes space between the items.
The class flex-wrap applies flex-wrap: wrap;, allowing flex items to move to the next line if they don't fit in one row.
Using semantic HTML elements like <nav>, <ul>, and <li> helps screen readers understand the navigation structure. Visible focus styles help keyboard users see where they are.