2 ms·
But then the articles recommendation doesn't make sense, because using rem for everything would also scale the layout. I'd guess that you should always use pix
by SebastianKra 4y ago
But then the articles recommendation doesn't make sense, because using rem for everything would also scale the layout.
I'd guess that you should always use pixels except for /(max-)?(width|height)/, because these are the only properties that may make assumptions about the size the content.