Last active
June 1, 2020 15:25
-
-
Save paulzay/f0cf3ec18e5d44b9f298db67335a11de to your computer and use it in GitHub Desktop.
flexbox tutorial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nav{ | |
display: flex; | |
flex-direction: row; | |
justify-content: space-between; | |
} | |
.navlinks ul li{ | |
display: inline-flex; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<nav class="navbar"> | |
<div class="logo"><img src="#"/></div> | |
<div class="navlinks"> | |
<ul> | |
<li><a href="#" alt="">Home</a></li> | |
<li><a href="#" alt="">About</a></li> | |
<li><a href="#" alt="">Contact</a></li> | |
<li><a href="#" alt="">Blog</a></li> | |
<li><a href="#" alt="">Careers</a></li> | |
</ul> | |
</div> | |
<div class="nav-end"><button>Request Invite</button></div> | |
</nav> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment