Created
February 11, 2015 06:35
-
-
Save co0kie/8ef4820537aeda686f10 to your computer and use it in GitHub Desktop.
bNaoyJ
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
<header> | |
<div class="logo"> | |
<a href="#" title=""><img src="http://placehold.it/150x150" alt=""></a> | |
</div> | |
<nav> | |
<ul> | |
<li><a href="#" title="">Lorem</a></li> | |
<li><a href="#" title="">Lorem</a></li> | |
<li><a href="#" title="">Lorem</a></li> | |
<li><a href="#" title="">Lorem</a></li> | |
<li><a href="#" title="">Lorem</a></li> | |
</ul> | |
</nav> | |
</header> |
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
/* reset */ | |
ul{ | |
list-style: none; | |
margin: 0; | |
padding: 0 | |
} | |
a{ | |
color: #fff; | |
text-decoration: none | |
} | |
/* reset:end */ | |
header{ | |
background-color: #000; | |
overflow: hidden; | |
padding: 8px | |
} | |
@media only screen and (min-width: 768px){ | |
.logo{ | |
float: left; | |
margin-right: 20px; | |
} | |
nav li{ | |
float: left; | |
margin-right: 10px | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment