/* CSS */
@keyframes demo {
0% { background-image: url(../img/demo/1.png); }
20% { background-image: url(../img/demo/2.png); }
40% { background-image: url(../img/demo/3.png); }
60% { background-image: url(../img/demo/4.png); }
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
// | |
// _oo0oo_ | |
// o8888888o | |
// 88" . "88 | |
// (| -_- |) | |
// 0\ = /0 | |
// ___/`---'\___ | |
// .' \\| |// '. | |
// / \\||| : |||// \ | |
// / _||||| -:- |||||- \ |
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
@charset "UTF-8"; | |
@import "variables.less"; | |
@import "mixins.less"; | |
@import "reset.less"; | |
@import "utility.less"; |
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
@import (reference) "variables.less"; | |
//公共的minix开始------------------------------------------------------------------------------------------- | |
.clearfix{ | |
&:before,&:after{ | |
display: table; | |
content: ''; | |
} | |
&:after{ | |
clear: both; | |
} |
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
@import "_variables"; | |
//公共的minix开始------------------------------------------------------------------------------------------- | |
@mixin size($width:null,$height:null){ | |
@if($width){width:$width;} | |
@if($height){height:$height;} | |
} | |
@mixin clearfix{ | |
&:before,&:after{ | |
display: table; | |
content: ''; |
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
[{ | |
"p": "北京", | |
"c": [{ "n": "东城区" }, { "n": "西城区" }, { "n": "崇文区" }, { "n": "宣武区" }, { "n": "朝阳区" }, { "n": "丰台区" }, { "n": "石景山区" }, { "n": "海淀区" }, { "n": "门头沟区" }, { "n": "房山区" }, { "n": "通州区" }, { "n": "顺义区" }, { "n": "昌平区" }, { "n": "大兴区" }, { "n": "平谷区" }, { "n": "怀柔区" }, { "n": "密云县" }, { "n": "延庆县" }] | |
}, { | |
"p": "天津", | |
"c": [{ "n": "和平区" }, { "n": "河东区" }, { "n": "河西区" }, { "n": "南开区" }, { "n": "河北区" }, { "n": "红挢区" }, { "n": "滨海新区" }, { "n": "东丽区" }, { "n": "西青区" }, { "n": "津南区" }, { "n": "北辰区" }, { "n": "宁河区" }, { "n": "武清区" }, { "n": "静海县" }, { "n": "宝坻区" }, { "n": "蓟县" }] | |
}, { | |
"p": "河北", | |
"c": [{ | |
"n": "石家庄", |
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
const defaultUrl = 'https://cnodejs.org/api/v1'; | |
const header = new Headers({ | |
'Accept': 'application/json', | |
'Content-Type': 'application/json' | |
}); | |
const defaultConfig = { | |
method: 'GET', | |
headers: header, | |
mode: 'cors', | |
credentials: "same-origin", // 设置fetch自动地发送本地的Cookie |
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
/* | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2016 Esa-Matti Suuronen <[email protected]> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. |
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> | |
<title>Box Shadow</title> | |
<style> | |
.box { | |
height: 150px; | |
width: 300px; | |
margin: 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
var PubSub = (function() { | |
var messages = {}, | |
lastUid = -1; | |
function hasKeys(obj) { | |
for (var key in obj){ | |
return true; | |
} | |
return false; | |
} |
OlderNewer