Created
December 12, 2013 07:35
-
-
Save hidoos/7924434 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body,div,p{ | |
margin:0; | |
padding:0; | |
} | |
body{ | |
padding:50px; | |
} | |
.margin-wrap{ | |
border:1px solid #131212; | |
width:500px; | |
padding:50px 0; | |
} | |
.margin-wrap p{ | |
width:200px; | |
background:#231212; | |
color:#fff; | |
/* 怎么取处理margin:auto的,规范里有写的么? */ | |
margin-left:auto; | |
} |
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
<div class="margin-wrap"> | |
<p>测试一下margin的auto的关键词</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-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