$( "h1" ).hover(
function(){
for(var i=0;i<255;i++){
setTimeout(function(){$("#fat").css("font-size", (i + 12) + "pt")},200);
}
}, function(){$("#fat").delay(200).css("font-size","12pt")}
);
My goal is to gradually increase the font size of an element when the mouse hovers over it, but currently there seems to be a delay countdown before the font size abruptly jumps to its largest value without any smooth growth effect.
I came across a similar issue in another discussion (Here) and suspect it may be relevant, although I'm still unsure about how to address it.