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 { | |
background: red; | |
display: inline-block; | |
height: 2em; | |
width: 300px; | |
} | |
.b { | |
float: right; | |
background: green; |
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
.nav { | |
margin: 0; | |
padding: 0; | |
height: 2em; | |
} | |
.nav li { | |
list-style: none; | |
float: left; | |
background: #EEE; | |
padding: 0.1em 0.2em; |
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 { | |
background: rgba(244,244,0,0.8); | |
position: relative; | |
padding-left: 20px; | |
} | |
.c img { | |
position: absolute; | |
left: 0; | |
top: 50%; |
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
// Run: node server.js | |
var app = connect() | |
.use(connect.bodyParser()) // handle post requests | |
.use(connect.static('http')) // serve files from http dir: ./http/file.html seen at http://host/file.html | |
.use(callback) // handle custom urls in standart function(req, res) { ... } callback | |
.listen(config.port || 3000); |
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
.container { | |
} | |
.photo {} | |
.back {} |
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
.me { | |
position: absolute; | |
width: 20px; | |
height: 20px; | |
background: #55F; | |
border-radius: 15px; | |
border: 3px solid #FFF; | |
box-shadow: 0px 0px 10px #AAA, inset 0px 0px 10px #33C; | |
left: 200px; |
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
.container{ | |
font: 10pt arial; | |
width: 100%; | |
height: 2em; | |
-webkit-perspective: 600px; | |
-webkit-perspective-origin: 50% 50%; | |
position: relative; | |
} | |
.bl { |
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
.container{ | |
perspective: 250px; | |
perspective-origin: 50% 50%; | |
width: 100px; | |
height: 30px; | |
} | |
.bl { | |
position: absolute; | |
width: 100px; |
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
* { | |
font: 10pt arial; | |
} | |
.parent { | |
width: 100px; | |
overflow: hidden; | |
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
var model = models[i]; | |
if (model.done()) { | |
// do nothing | |
} else if (model.isLoading()) { | |
loading.push(model); | |
} else if (model.canRetry()) { | |
model.willRetry(); // может как-то по-другому назвать | |
requesting.push(model); | |
} else { |