In chrome, for example: Wrench>Options>Under The Hood>Change Font and Language>Serif Font>Change>Font Size=24+.
Obviously, I'd want to shrink the sheet size and make it so that code boxes that include embedded scrollbars wrap on fewer characters, right? So, can you please include code for one of these two actions things in your example?
Thank you. Comments are greatly appreciated.
2 answers
point
You can use jQuery to get the fontSize of the targeted element and run code based on the size.
if($('p').css('fontSize') > '20px'){
console.log('greater than 20px')
...run your code up in here!
:)
};
- Is this going to actually give the user's 'fontscale', as set by the browser, in the DOM?
point
This is more a matter for designing without setting a fixed font size, using ems and proportional sizing for your elements.
Maybe you also need media queries.
http://blog.cloudfour.com/the-ems-have-it-proportional-media-queries-ftw/
