Skip to content

FlowType not working with pixels? What am I missing? #47

@alvarotrigo

Description

@alvarotrigo

As there are no examples available to download to compare with, I'm not quite sure what I'm missing.
It would be a good idea to have a folder with examples. There's not even a fiddle or a codepen of its usage on the docs...

Here's a reproduction of what I'm trying to do.
I can see the font-size inline attribute being applied to the parent, but it doesn't seem to have any effect on the child elements.

It seems it only works when applying em instead of px to the element i want to make resizable.
Nothing is mentioned in the docs about having to use em instead of pixels. So not sure if this is a must or not...

Here's the same version but working as expected when using em units instead.

I've seen some other demos which doesn't seem to be working either.

What am I missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions