Skip to content

Instantly share code, notes, and snippets.

View kejun's full-sized avatar
💭
I may be slow to respond.

kejun kejun

💭
I may be slow to respond.
View GitHub Profile
@kejun
kejun / dabblet.css
Created July 30, 2013 03:42
环形进度条,css bt版
/**
* 环形进度条,css bt版
*/
html,body { height:100%; }
body {
display: flex;
justify-content: center;
align-items: center;
}
@kejun
kejun / dabblet.css
Created July 30, 2013 16:27
环形进度条第2种实现
/**
* 环形进度条第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;
@kejun
kejun / dabblet.css
Created August 16, 2013 09:42
Untitled
ul, li {
margin: 0;
padding: 0;
list-style: none;
}
.menu {
position: fixed;
bottom: 0;
left: 50%;
@kejun
kejun / dabblet.css
Created September 5, 2013 03:06 — forked from anonymous/dabblet.css
thumb截中间区域
/* thumb截中间区域 */
fieldset {
display: inline-block;
border: 1px solid #ddd;
}
.thumb {
position: relative;
@kejun
kejun / dabblet.html
Created September 5, 2013 10:09
Untitled
<!-- content to be placed inside <body>…</body> -->
/**/
@kejun
kejun / dabblet.css
Created September 18, 2013 03:26
Untitled
body {
text-align: center;
}
.pyramid {
position: relative;
padding-right: 6px;
width: 28em;
height: 20em;
margin: auto;
@kejun
kejun / gist:6682745
Last active December 23, 2015 19:29
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(){
@kejun
kejun / dabblet.css
Created October 29, 2013 13:49
Untitled
html,body { height:100%;}
body {
display: flex;
justify-content: center;
align-items: center;
}
.rect {
position: relative;
width: 20em;
@kejun
kejun / dabblet.css
Created November 20, 2013 04:25
thumb截中间区域
/* thumb截中间区域 */
body {
text-align: center;
}
.thumb {
position: relative;
width: 20em;
margin:2em auto;