General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
D K
Fireship
comments
Comments by "D K" (@DK-ox7ze) on "3 More Life-Changing CSS Tips" video.
I disagree with use of rem instead of px. The fact is that most professional web development is done based on UI designs (like PSDs), and the margin, padding etc across resolutions don't scale as per the font size. So using px inside media queries is better because it gives precise control over padding etc, in contrast to using rem/em where you might not get the perfect padding because the ratio of change in font size across resolutions might not be the same as ratio of padding across resolutions.
1