Created
January 14, 2014 15:26
-
-
Save anonymous/8420064 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 | |
*/ | |
:root { | |
background-color: #6374AB; | |
padding: 50px; | |
} | |
ul{ | |
background:yellow; | |
margin:0; | |
padding:0; | |
} | |
li{ | |
margin:10px; | |
padding:10px; | |
background:#ccc; | |
list-style:none; | |
} | |
li:first-child{ | |
color:red; | |
margin-top:20px; | |
} | |
li.demo{ | |
border:2px dashed blue; | |
padding:20px; | |
} |
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> --> | |
<ul> | |
<li>一个列表用来测试margin</li> | |
<li class="demo"> | |
一个列表用来测试margin | |
</li> | |
<li>测试一下margin</li> | |
</ul> |
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