Created
July 10, 2013 23:35
-
-
Save gcyrillus/5971212 to your computer and use it in GitHub Desktop.
another fluid min-full height & bottom footer
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
/* another fluid min-full height & bottom footer */ | |
html { | |
height:100%; | |
width:100%; | |
} | |
body { | |
height:100%; | |
width:100%; | |
display:table; | |
table-layout:fixed; | |
margin:0 auto; | |
width:80%; | |
} | |
.tr { | |
display:table-row; | |
background:turquoise | |
} | |
section.tr { | |
height:100%; | |
background:yellow | |
} |
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 class="tr"> <h1>title</h1><p>make me grow</p></header> | |
<section class="tr"><article>article</article></section> | |
<footer class="tr"> <p>Footer</p><p>make me grow</p></footer> |
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":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment