xd-copy-css-code icon indicating copy to clipboard operation
xd-copy-css-code copied to clipboard

Unitless line-height and Fontsizes in rem

Open 7samurai opened this issue 6 years ago • 1 comments

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

7samurai avatar Aug 05 '19 14:08 7samurai

+1, add support for line-hieght

aprinciple avatar Dec 26 '19 09:12 aprinciple