A web component that create a CSS-only floating label for input
tags
The syntax for generating a float-label input is as follows:
### Keybase proof | |
I hereby claim: | |
* I am j0n on github. | |
* I am anderssonjon (https://keybase.io/anderssonjon) on keybase. | |
* I have a public key ASCcfpSLnINRssXT0H500xV7ZVnyfCvv8GrivXP8Ya738Ao | |
To claim this, I am signing this object: |
var Throttle = require('throttle'), | |
fs = require('fs'), | |
change = false, | |
probe = require('node-ffprobe'), | |
http = require('http'), | |
bitRate = 128022; | |
currentStream = false; | |
probe(__dirname + '/my.mp3', function(err, data) { | |
bitRate = data.format.bit_rate; |
$(document).ready(function(){ | |
$('.front').bind('click', function(){ | |
$('#cube').css('webkitTransform', "translateZ(-246px) rotateY(0deg)"); | |
}); | |
$('.back').bind('click', function(){ | |
$('#cube').css('webkitTransform', "translateZ(-246px) rotateY(270deg)"); | |
}); | |
$('.cube-left').bind('click', function(){ | |
$('#cube').css('webkitTransform', "translateZ(-246px) rotateY(90deg)"); | |
}); |