Created
July 26, 2017 17:46
-
-
Save ajzyn/60543368f77235269cd1fc1163a3f48a to your computer and use it in GitHub Desktop.
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> | |
<ul class="menu-list"> | |
<li><a href='#'>Home</a></li> | |
<li><a href='#'>O nas</a></li> | |
<li><a href='#'>Projekty</a></li> | |
<li><a href='#'>Źródła</a></li> | |
<li><a href='#'>Kontakt</a></li> | |
</ul> | |
</nav> | |
<style> | |
.menu-list{ | |
position: fixed; | |
background-color: rgba(47, 46, 46, 1); | |
width: 100%; | |
z-index: 1; | |
list-style: none; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
} | |
.menu-list li{ | |
padding: 20px 30px; | |
} | |
.menu-list a{ | |
color:white; | |
text-decoration: none; | |
text-transform: uppercase; | |
font-size: 18px; | |
} | |
.menu-list li:hover { | |
border-bottom:2px solid white; | |
border-top:2px solid white; | |
padding: 18px 30px; | |
cursor: pointer; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment