.active{
transform: scale(80%);
}
.active:first-child{
transform: scale(100%);
}
var result = true;
$('input[type="radio"]').click( function(){
if ( this.checked ){
$(this).attr('checked', false);
}
else{
$(this).attr('checked', true);
}
});
$( document ).ready(function() {
var someFn = function()
{
console.log( (new Date) );
};
var i = 0;
var max = 10;
var _interval = setInterval(function() {
if( i < max )
{
someFn();
i++;
} else {
clearInterval( _interval );
}
}, 1000);
});