- Post to Hacker News
- Share HN post on Twitter
- Raise $1MM
- Retire
width 100% | |
height calc(3/4*100%) |
var color = 'rgb('+(Math.floor(Math.random()*256))+','+(Math.floor(Math.random()*256))+','+(Math.floor(Math.random()*256))+')'; |
[placeholder]:focus::placeholder | |
color transparent |
svg | |
transition: all .2s | |
svg path | |
fill: inherit |
function $$( selector, context ) { | |
context = context || document; | |
var elements = context.querySelectorAll( selector ); | |
return Array.prototype.slice.call( elements ); | |
} |
Math.radians = function( degrees ) { | |
return degrees * Math.PI / 180; | |
}; |
Math.degrees = function( radians ) { | |
return radians * 180 / Math.PI; | |
}; |
function celsiusToFahrenheit( celsius ) { | |
return celsius * 9/5 + 32 | |
} |
function ( array ) { | |
return Math.floor( Math.random() * array.length ) | |
} |