Created
December 15, 2012 17:14
-
-
Save ninadingole/4297301 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
html{ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; | |
} | |
.wrapper{ | |
width:900px; | |
margin:0 auto; | |
} | |
nav{ | |
position:relative; | |
} | |
nav ul{ | |
list-style:none; | |
} | |
nav ul li{ | |
display:inline; | |
position:relative; | |
margin-right:20px; | |
} | |
nav li ul{ | |
position:absolute; | |
margin-top:10px; | |
top:10; | |
} | |
nav li:hover ul{ | |
display:inline; | |
} | |
nav li ul li{ | |
display:block; | |
float:none; | |
margin-top:10px; | |
} | |
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
<div class="wrapper"> | |
<nav> | |
<ul> | |
<li><a href="#">Home</a></li> | |
<li><a href="#">Portfolio</a></li> | |
<li><a href="#">Blog</a> | |
<ul> | |
<li><a href="#">Tutorials</a></li> | |
<li><a href="#">Asp.net</a></li> | |
<li><a href="#">html</a></li> | |
<li><a href="#">Css</a></li> | |
</ul> | |
</li> | |
<li><a href="#">Contact</a></li> | |
<ul> | |
</nav> | |
</div> |
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
// alert('Hello world!'); |
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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment