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
/** | |
* 环形进度条,css bt版 | |
*/ | |
html,body { height:100%; } | |
body { | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
} |
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
/** | |
* 环形进度条第2种实现 | |
*/ | |
body, html { height:100%;} | |
body { display:flex;justify-content:center;align-items:center;} | |
.controls { margin-top: 2em;text-align:center; } | |
.circle-progress { | |
position: relative; | |
width: 10em; |
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
ul, li { | |
margin: 0; | |
padding: 0; | |
list-style: none; | |
} | |
.menu { | |
position: fixed; | |
bottom: 0; | |
left: 50%; |
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
/* thumb截中间区域 */ | |
fieldset { | |
display: inline-block; | |
border: 1px solid #ddd; | |
} | |
.thumb { | |
position: relative; |
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
<!-- content to be placed inside <body>…</body> --> |
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
/**/ |
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
body { | |
text-align: center; | |
} | |
.pyramid { | |
position: relative; | |
padding-right: 6px; | |
width: 28em; | |
height: 20em; | |
margin: auto; |
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
javascript:(function(){ | |
var loader = function(url,cb) { | |
var script = document.createElement('script'); | |
script.setAttribute('type', 'text/javascript'); | |
script.setAttribute('src', url); | |
script.onload = script.onreadystatechange = function() { | |
if (!this.readyState || | |
this.readyState === 'loaded' || | |
this.readyState === 'complete') { | |
setTimeout(function(){ |
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
html,body { height:100%;} | |
body { | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
} | |
.rect { | |
position: relative; | |
width: 20em; |
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
/* thumb截中间区域 */ | |
body { | |
text-align: center; | |
} | |
.thumb { | |
position: relative; | |
width: 20em; | |
margin:2em auto; |