Dynamic font-size and line-height based on element width!
What does FlowType.JS actually do?
Ideally, the most legible typography contains between 45 and 75 characters per line. This is difficult to accomplish for all screen widths with only CSS media-queries. FlowType.JS eases this difficulty by changing the font-size and line-height based on a specific element’s width. This allows for a perfect character count per line at any screen width.
Options and usage
Set minimum and maximum width thresholds to control the FlowType.JS magic within specific element widths.
For example – FlowType.JS will stop re-sizing text once the element width becomes smaller than 480px or larger than 1280px:
minimum : 480,
maximum : 1280
Strictly Necessary Cookies
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.