✨ An option `Style.rootSize` for converting `em`/`rem`
See original GitHub issueDiscussed in https://github.com/master-co/css/discussions/48
<div type='discussions-op-text'>Originally posted by gammx August 20, 2022 Hey, my app has a different px:rem ratio applied, like:
html {
font-size: 62.5%;
}
So when I’m using Master applying a class like f:15
results in something completely different from what I wanted, is there any option to configure how the px -> rem conversion works so I can stop writing the "rem"
suffix for numeric values? 🤔 </div>
Reference: https://www.sitepoint.com/understanding-and-using-rem-units-in-css/
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Untitled
Conversion forint franc suisse, Song duck face, Dogwatch central ct, Little black door blog! Casing leather for carving, Testify ratm lyrics, ...
Read more >Untitled
Egyptian style painting, Fareen azeem, Cherry picked for you, War thunder guardian ... Gibb's categories, Carpenter 20cb3 stainless, My choice text now, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s not recommended to automatically set CSS for the user as it may have SEO related concerns like FOUC and CLS.
Expect Master CSS to set
<html>
according torootSize: 10
with: