-
-
Save gcyrillus/5102613 to your computer and use it in GitHub Desktop.
test methode de centrage , avec marquage et mire
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
| /* test methode de centrage , avec marquage et mire */ | |
| header{background: #0099CC; height: 125px; text-align:center;line-height:125px;} | |
| #logo{ background:#999999; width: 330px; text-align:center; margin:10px; height:80px;} | |
| #menu{ background: #CC9999;width: 530px; height:60px;} | |
| #logo:before, #menu:before {content:'';height:100%;width:0;border-left:1px solid;} | |
| #logo, #menu , #logo:before, #menu:before, header p {display:inline-block;vertical-align:middle;line-height:1.2em;} | |
| #logo,#menu , header {background-image:linear-gradient(0deg, transparent 48%, blue 50%, transparent 5%), linear-gradient(90deg, transparent 50%, blue 50%, transparent 50.5%);box-shadow:0 0 5px white;} | |
| p {margin:0;} |
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 id="logo">LOGO | |
| </div> | |
| <div id="menu"><p>TEXTE<br/>+ 1 ligne </p> | |
| </div> | |
| </header> | |
| <p>Ligne bleue : axe centrale.</p> | |
| <p>Ligne noire : bordure pseudo-element "centreur".</p> |
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":"separate","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