simplefocus / FlowType.JS

Web typography at its finest: font-size and line-height based on element width.

Home Page:http://simplefocus.com/flowtype/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not work on Headlines?

Stefanowitsch84 opened this issue · comments

The plugin works perfectly on text paragraphs.

However I am not able to get it to work on headlines (h1, h2, etc.).

I set the font size for my h2 at 3.5em in the stylesheet (for example). The headline is in the same

as the Text.
When rezising the window, the text shrinks, the headline doesn't.

Has it something to to with the length of the headline? My headlines consist of one word only. Looks really weird, when the text is resizing and the headline stays big.

Can you provide a link? Or, copy the code here?