Created
January 2, 2014 15:48
-
-
Save hidoos/8221185 to your computer and use it in GitHub Desktop.
Untitled
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
body{ | |
padding:50px; | |
} | |
.demo{ | |
background:#eee; | |
overflow:hidden; | |
border-radius:5px; | |
/* text-align 是继承的 */ | |
text-align:center; | |
} | |
.demo p{ | |
padding:3px 10px; | |
background:#ddd; | |
width:600px; | |
margin:50px 20px; | |
float:left; | |
} |
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
<!-- content to be placed inside <body>…</body> --> | |
<!-- content to be placed inside <body>…</body> --> | |
<div class="demo"> | |
<p>我是一个水平的段落</p> | |
<p>我是一个水平的段落</p> | |
</div> |
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":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment