A Pen by Nicholas Fazzolari on CodePen.
Last active
August 29, 2015 14:18
-
-
Save NickersF/30a6ec7d7732c8335e1e to your computer and use it in GitHub Desktop.
RNdoWa
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
<ul class="navbar"> | |
<li class="tab"><a class="nav" href="#">Link</a></li> | |
<li class="tab"><a class="nav" href="#">Link</a></li> | |
<li class="tab"><a class="nav" href="#">Link</a></li> | |
<li class="tab"><a class="nav" href="#">Link</a></li> | |
<div class="tab"></div> | |
</ul> |
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
.navbar { | |
background-color: black; | |
list-style-type: none; | |
padding: 0; | |
margin: 0; | |
} | |
.tab { | |
display: inline; | |
float: left; | |
list-decoration: none; | |
background-color: pink; | |
width: 128px; | |
height: 77px; | |
padding: 8px; | |
text-align: center; | |
line-height: 82px; | |
border-bottom: 5px solid violet; | |
} | |
.tab:hover { | |
display: inline; | |
float: left; | |
list-decoration: none; | |
background-color: violet; | |
width: 128px; | |
padding: 8px; | |
text-align: center; | |
border-bottom: 5px solid purple; | |
} | |
a.nav { | |
font-family: sans-serif; | |
text-decoration: none; | |
color: black; | |
font-size: 18px; | |
font-weight: 800; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment