Closed gosseti closed 13 years ago
Or scaling proportionally?
Added min-font-size
in a branch. If enough people like/use it, we could fold it in.
https://github.com/davatron5000/FitText.js/blob/min-font-size/jquery.fittext.js
It's added as an optional parameter. To specify a min-font-size, you would need 2 parameters: $(element).fitText( 1.2, '100px' );
Would be great to have a minimum font size cut off.
It could safeguard primary headings getting smaller than secondary ones—keeping typographic hierarchy intact.