I have a trivial question about the layout. There is such a code for navigation. I was assured from the studio that such an approach is not the right one, and the menu and social-link given 50% of the width.
I would like to know from you. Is there any difference?
.navigation{ width:100%; padding:15px; display:flex; justify-content:space-between; align-items:center; box-sizing:border-box; } .menu{ display:inline-block; padding:15px; text-align:center; box-sizing:border-box; } .social-link{ display:inline-block; padding:15px; text-align:center; box-sizing:border-box; } .link{ display:block; padding-left:15px; padding-right:15px; } .facebook::after{ content:"facebook"; font-size:1rem; font-family:material-icon; } .twitter::after{ content:"twitter"; font-size:1rem; font-family:material-icon; } <nav class="navigation"> <menu class="menu"> <a href="" class="link">Home</a> <a href="" class="link">About</a> <a href="" class="link">Service</a> <a href="" class="link">Contact</a> </menu> <div class="social-link"> <a href="" class="link facebook">Facebook</a> <a href="" class="link twitter">Twitter</a> </div> </nav>