brackets-units icon indicating copy to clipboard operation
brackets-units copied to clipboard

[Feature Request] Add rem units alongside the em

Open ChrisRast opened this issue 10 years ago • 2 comments

All in the title, is it possible to add the rem unit ?

That would mean we have to specify a html or body definition in the CSS in px (as usual) and it would automatically compute other px into rem.

(Is that clear ? Sorry for the weird sentences.)

ChrisRast avatar Dec 10 '14 12:12 ChrisRast

Hello,

Understood. I'll try to feature you have requested.

yasinkuyu avatar Dec 12 '14 13:12 yasinkuyu

As this extension works right now this should be quite easy to add I think? Basically rem would be the exact same value as em.

It would be cool if down the road somehow px -> rem or px -> em could be calculated from your base font value, but I imagine that's a lot more difficult.

onetrev avatar Feb 23 '15 04:02 onetrev