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
* {margin: 0; padding: 0} /* reset */ | |
html, body { | |
height: 100%; | |
} | |
body { | |
border-top: 50px solid; /* You need to set the border for the header to overlap on. */ | |
border-bottom: 100px solid; /* Height of footer. */ | |
box-sizing: border-box; /* paulirish.com/2012/box-sizing-border-box-ftw/ */ |
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
*{margin: 0; padding: 0;} | |
html, body { | |
height: 100% | |
} | |
body { | |
text-align: center; | |
background: linear-gradient(top, white, #aeaeae); | |
} |
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
/* CSS3 ribbon (modified from Chris Coyier) */ | |
/* a bit sloppy eh!*/ | |
.wrapper { | |
margin: 50px auto; | |
width: 280px; | |
height: 370px; | |
background: linear-gradient (top, rgba(255,255,255,1), #d9d9d9); |
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
body { | |
margin:0; | |
padding: 0; | |
font: 100%; | |
min-height: 100%; | |
} | |
header, article, aside, | |
footer, nav, lubberofzelda { float: left } | |
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
/* some uses for :hover Pseudo class and '~' selector */ | |
/*/ 360deg Goggle view /*/ | |
/* le wrapper */ | |
.g { | |
width: 600px; | |
height: 400px; | |
margin: 50px auto; |