This is a particle system animation we here at nclud created for our client, Ionic Security.
Forked from nclud team's Pen Ionic Security Particle System Animation.
/** | |
* Translucent borders | |
*/ | |
body { | |
background: url('http://csssecrets.io/images/stone-art.jpg'); | |
} | |
div { | |
border: 10px solid hsla(0,0%,100%,.5); |
<style id="jsbin-css"> | |
#DIV_1, #DIV_3 { | |
color: rgb(51, 51, 51); | |
height: 1495px; | |
width: 568px; | |
perspective-origin: 284px 747.5px; | |
transform-origin: 284px 747.5px; | |
border: 0px none rgb(51, 51, 51); | |
font: normal normal normal normal 12px/15.6000003814697px Arial, 'Microsoft YaHei'; | |
outline: rgb(51, 51, 51) none 0px; |
<style id="jsbin-css"> | |
#DIV_1 { | |
color: rgb(109, 110, 112); | |
height: 165px; | |
left: 304px; | |
position: absolute; | |
text-align: center; | |
top: 247px; | |
width: 400px; | |
z-index: 99999; |
This is a particle system animation we here at nclud created for our client, Ionic Security.
Forked from nclud team's Pen Ionic Security Particle System Animation.
describe 'js, clone a function ',-> | |
it " clones the function with '{}' acting as it's new 'this' parameter, or nothing passed works too",-> | |
oldFunc=-> | |
this.num=1 | |
oldFunc.prototype.increNum=-> | |
this.num++ | |
func= new oldFunc() | |
func.increNum() | |
newFunc = oldFunc.bind(); |
test( "hello test", -> | |
ok Polymer instanceof Function | |
); | |