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
/** | |
* gradient 质感 | |
*/ | |
body,div{ | |
margin:0; | |
padding:0; | |
} | |
.mod{ | |
background:#343434; /* 盒子outside的颜色 */ | |
height:400px; |
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
/** | |
* (C)Leanest CSS spinner ever | |
*/ | |
@keyframes spin { | |
to { transform: rotate(1turn); } | |
} | |
.progress { | |
position: relative; |
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="message-success"> | |
ceshi | |
</div> | |
<div class="message-error"> | |
ceshi | |
</div> | |
<div class="message-warn"> | |
ceshi | |
</div> | |
<div class="message-info"> |
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="message"> | |
测试一下这些内容 | |
</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
<div class="message"> | |
测试一下这些内容 | |
</div> | |
<div class="message-default"> | |
测试一下这些内容 | |
</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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="js函数的arguments的值" /> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
</body> |
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
.red, .green, .blue { | |
position: absolute; | |
width:100px; | |
height:100px; | |
} | |
div:first-child{ | |
opacity: .99; | |
} | |
.red { | |
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
/** | |
* z-index demo | |
*/ | |
body,div,p{ | |
margin:0; | |
padding:0; | |
} | |
body{ | |
font-size:0} | |
.menu{ |
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
fieldset{ | |
border:none; | |
border-top:1px solid #ccc; | |
padding:0; | |
} | |
fieldset>legend{ | |
font-size:12px; | |
line-height:24px; | |
margin:0; | |
padding-right:20px; |