In your opinion, does using rem make more sense for padding/border? You said it depends, but from a UIUX perspective, is there one more correct answer?
very informative video, i just have one query, if we consider choosing the rem, and in case the user changes its setting in the browser, now obviously our text will take more space, so now I guess there will be more overhead to manage the website layout...?
Yes and no. There's not one sure-fire solution I can tell you that will work for all websites, but if you are building things and testing them out to be responsive anyway, it's not a lot of overhead. It becomes more nuanced if you use rem for some properties and px for others. But either way, I think the most important thing is the user experience, and if a user sets their font size to be larger, then websites should respect that.
In your opinion, does using rem make more sense for padding/border? You said it depends, but from a UIUX perspective, is there one more correct answer?
very informative video, i just have one query, if we consider choosing the rem, and in case the user changes its setting in the browser, now obviously our text will take more space, so now I guess there will be more overhead to manage the website layout...?
Yes and no. There's not one sure-fire solution I can tell you that will work for all websites, but if you are building things and testing them out to be responsive anyway, it's not a lot of overhead. It becomes more nuanced if you use rem for some properties and px for others. But either way, I think the most important thing is the user experience, and if a user sets their font size to be larger, then websites should respect that.