Checkout out this article https://engageinteractive.co.uk/blog/em-vs-rem-vs-px
Marked as helpful
@dstriz09
Posted
@jmnyarega This is great! thanks so much for all the tips.
Is my "rem" unit usage overkill? When is a good time to use rem vs px?
Nice work @dstriz09.
I don't think there is overkill in using relative units. They are preferable almost in all our code because the text will scale properly will rem/em
I will recommend using relative units on media queries [[use em here]] as well 🙂.
I suggest changing the cursor when hovering on the buttons, though subtle it will provide a better experience when using the component. cursor: pointer.
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord