Hi I want to change the font size of the page incrementally with jQuery how do I do that?
Something like:
$('body').css({'font-size':'+.01px'}); $('body').css({'font-size':'-.01px'});
You could do so :
var fontSize = parseInt($("body").css("font-size")); fontSize = fontSize + 1 + "px"; $("body").css({'font-size':fontSize});
jsFiddle example here