tylerchilds / cutestrap

A strong, independent CSS Framework. Only 2.7KB minified & gzipped.

Home Page:https://www.cutestrap.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rem units on body tag

mynamesleon opened this issue · comments

There was a bug in older Chrome where REM units on the body tag weren't applied correctly: https://bugs.chromium.org/p/chromium/issues/detail?id=319623
I'd advise using em or % for the font-size and line-height on the body tag to cater for this just in case

I'll update the body to have em, since the bug is just for the body tag, rem in all other locations will go unaffected.

This introduced a new bug, where the line-height on the body when sized with em was larger than expected, so it won't be merged. The bug also seems pretty low risk as chrome auto-updates by default.