Previous Message
Next Message

is use of rem bad?

Sent by Karl DeSaulniers on 21 July 2016 04:04

That is incorrect I believe. FWIU Em is based off of the first parent element to declare a 'px'
based declaration of same type. 

Otherwise it is set by the body and default browser px size. Same with percent. 

You are correct however, you can't just blindly convert rem to em.
My apologies. I was thinking of percent to em and back. 
You can convert those with no problems. 

I never use rem, so probably shouldn't have shared.. :(


Karl DeSaulniers
Design Drumm

> On Jul 20, 2016, at 9:01 PM, Philippe Wittenbergh [EMAIL-REMOVED]> wrote:
> For the `em unit` it is based on the font-size of the element itself.

css-discuss [EMAIL-REMOVED]]
List wiki/FAQ --
List policies --
Supported by --
Previous Message
Next Message

Message thread:

Possibly related: