Skip to content

Unitless line-height and Fontsizes in rem #2

Description

@7samurai

Hi, first at all: awesome work.

Now some questions: What about some tweaks, maybe whit the chance to change it as an user.
#1 Unitless line-height -> If the font changes, its better to habe these unitless, formular: line-height/font-size:
line-height: 32px;
font-size: 27px;
results in
line-height: 1.185185185;

#2 Let the User define an basis font size (for Example 16px), an give back units in em or better (in my opinion) rem
formular: font-size / base-size -> 27px / 16px = 1.6875rem

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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