As a beginner utilizing Bootstrap v5, I am in the process of creating a navbar using the following HTML code. Within this code, the parent element (ul) of my link items contains a class called "navbar-nav" which results in my link items being styled to stack on top of each other. Additionally, the non-immediate class "navbar-expand-lg" causes my items to be displayed adjacent to one another. I am currently puzzled by how this non-immediate class impacts my items and which specific property within the Bootstrap CSS file it is associated with.
<nav class="navbar navbar-expand-lg">
<ul class="navbar-nav ">
<li class="nav-item">
<a class="nav-link" href="">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="">Services</a>
</li>
<li class="nav-item">
<a class="nav-link" href="">Contact</a>
</li>
</ul>