Codepen: http://codepen.io/Rplus/details/LNwXBO/
gist: https://gist.github.com/Rplus/a7a93f34dd2ae52780fddccfd10d96d1
{ | |
"name": "my-app", | |
"version": "1.0.0", | |
"description": "My test app", | |
"main": "src/js/index.js", | |
"scripts": { | |
"jshint:dist": "jshint src/js/*.js'", | |
"jshint": "npm run jshint:dist", | |
"jscs": "jscs src/*.js", | |
"browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js", |
#!/bin/sh | |
FILE="$1" | |
FILE_NAME=${FILE%%.*} | |
echo "Convert $FILE to $FILE_NAME…" | |
mkdir -p $FILE_NAME | |
cp $FILE $FILE_NAME |
origin project:
Replace a node with an iframe version of itself
https://github.com/edenspiekermann/iframify
: | |
// res field | |
var x | |
if (x = $._.slice && $._.slice(40, 200).match(/="0;URL=([^"]+)/)) { | |
return { | |
loop: x[1] | |
}; | |
} | |
if (typeof $._ === 'string') { |
#rightCol { | |
opacity: .05; | |
transition: opacity .2s 0s; | |
} | |
#rightCol > div { | |
pointer-events: none; | |
} | |
#rightCol:hover { |
[illustration] Penrose hug
by Fabian Denter on Jun 14, 2015
https://dribbble.com/shots/2105831-Penrose-hug
原始圖樣:
uxundtollerei issue8 的封面圖
http://uxundtollerei.com/issue/8
inspired from: https://gitter.im/explore/
key point:
float
flex-shrink
white-space: nowrap
overflow: hidden
http://codepen.io/DonKarlssonSan/post/happy-pi-day-challenge