Skip to content

Simulating fitText.js with SlabText #41

@pedrocury

Description

@pedrocury

Hi,

I was using fitText before and I'm testing slabText now. For my application, sometimes I prefer to have fitText for titles, because with slab's default config, my titles gets too big and If I try to set a small max-font-size then I get too much irregular spacing between words.

So is there a way to mimic fitText behavior, so I don't have to include 2 different scripts ? I used font ratio = 1 and It seems to do the trick. Just wanted to make sure...

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions