Created
May 22, 2013 19:48
-
-
Save gcyrillus/5630360 to your computer and use it in GitHub Desktop.
pied de hauteur variable en bas de page : LE RETOUR (display:table)
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
/* pied de hauteur variable en bas de page : LE RETOUR (display:table)*/ | |
html , body {display:table;height:100%;width:100%;margin:0;padding:0;text-align:center;} | |
header, section, footer {display:table-row;background:#159;color:white;height:100px; | |
border:solid;} | |
section {height:100%;background:#48a} | |
header:hover, footer:hover {height:150px;} | |
body > * > div {display:table-cell;vertical-align:middle;box-shadow:0 0 15px white;} |
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
<header><div><h1>titre</h1><p>contenu variable</p><div></header> | |
<section><div><p>contenu variable</p><p>contenu variable</p><p>contenu variable</p><p>contenu variable</p><p>contenu variable</p><p>contenu variable</p><p>contenu variable</p><p>contenu variable</p><p>contenu variable</p><p>contenu variable</p><p>contenu variable</p><p>contenu variable</p><p>contenu variable</p><p>contenu variable</p> | |
<p>fin</p></div></section> | |
<footer><div><p>contenu variable</p></div></footer> |
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-vertical","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