cuth / postcss-pxtorem

Convert pixel units to rem (root em) units using PostCSS
MIT License
2.03k stars 174 forks source link

Set root font-size for html tag #2

Closed whdigger closed 9 years ago

cuth commented 9 years ago

Can you explain why you would want to set the root font-size on the html element? I'm under the impression that we would want to leave this so that the user's browser settings can determine the font-size.

whdigger commented 9 years ago

The font size in html element may depend on the browser, but if it override html, the other items will be calculate from it.

cuth commented 9 years ago

Yeah, I think that is why I don't want to override it. I'd rather the font size calculate from browser preferences. That is kinda the point of moving from pixel to rem units.

If you put this behind an option and make it not the default option then I might accept it.