Skip to content

Question about the resize range #44

@lmartins

Description

@lmartins

First and foremost, thank you for this excellent plugin. It's really useful.
I have a question about its functionality though. With the configuration bellow the plugin will go from 11px to 18px within a very small range of browser window size. Testing this configuration starting from the minimum browser size, the font-size will reach the "18px" value at about 560px wide and the font will stay the same size from there onwards.

I was expecting that it would resize the font between the two given values of "500px" and "1200px" browser window sizes. Am I missing something?

$('body').flowtype({
       minimum   : 500,
       maximum   : 1200,
       minFont   : 11,
       maxFont   : 18,
       fontRatio : 32
    });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions