rem or px for padding and margin

i want to practice using the right thing in my code and i think using rem is a better approach than using px but now the padding and margin and i don't know which one would be better to use in that case
Was this page helpful?