Brian Schooler• 440
@superschooler
Posted
Hi ABHILASHPANDEY,
There’s a YouTuber named Kevin Powell who has awesome videos on all things CSS. Here’s one that explains the differences in px, em, and rem very well.
Basically, never use px. Use rem for font-sizes. Use em for padding and margins.
https://youtu.be/_-aDOAMmDHI
Marked as helpful
1
Abhilashpandey• 270
@freakyjones
Posted
@superschooler Thanks for the help buddy.
1