Created
August 4, 2014 16:11
-
-
Save marsp0/a283c60377c9ea4667a8 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
This file contains hidden or 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 | |
*/ | |
.main { | |
font-family: Futura; | |
background: #f06; | |
background: linear-gradient(50deg, #f06, yellow); | |
min-height: 900px; | |
} | |
.banner { | |
height: 300px; | |
} | |
.navigation { | |
height: 50px; | |
background: #f05; | |
background: linear-gradient(50deg, #f06, yellow); | |
} | |
a { | |
text-decoration: none; | |
color: white | |
} | |
ul { | |
list-style: none; | |
} | |
.navigation ul { | |
display: inline-block; | |
} | |
.navigation ul li { | |
float: left; | |
} | |
.navigation ul li a { | |
padding: 16px 30px 14px 30px; | |
} | |
.navigation ul li a:hover { | |
color: #f95; | |
} |
This file contains hidden or 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
<!-- content to be placed inside <body>…</body> --> | |
<div class='main'> | |
<div class='banner'> | |
</div> | |
<div class='navigation'> | |
<ul class='menu'> | |
<li><a href='/'>Home</a></li> | |
<li><a href='/'>Contact</a></li> | |
<li><a href='/'>About</a></li> | |
<li><a href='/'>Shop</a></li> | |
</div> | |
</div> |
This file contains hidden or 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 hidden or 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