Tag Info

New answers tagged


In my CSS I use percentages for font size changes and make sure that font-size is set to inherit on all element types h1 { font-size: 200% } h2 { font-size: 150% } table { font-size: inherit; } Then JavaScript just needs to adjust the base font size of the document or body. $("body").css("font-size",Math.max($(window).width()/50,8)+"px") ...

Top 50 recent answers are included