@MlcodeDev
Posted
I love this project but you should use rem
units rather than px
for font-size so that it won't interfere with user preferences. Some people, especially old people like to set a larger font size, and rem
is a scalable font size so it makes it possible to scale up, but when you set your font-size to px, it is unable to scale.
Marked as helpful
@rodrigoo-alves
Posted
@MlcodeDev thanks i will make the changes, I learned to always use px but i know that rem is better for resposive, just need to get used to
@MlcodeDev
Posted
@rodrigoo-alves px
is a good unit for styling borders, letter-spacing etc. but because of it's unscalable nature when you apply it for e.g. to margin or padding it would look terrible on different viewport's.
@MlcodeDev
Posted
@MlcodeDev I recommend learning em
, rem
, vw
, vh
and know when to use them, kevin powell made a great video about it, I recommend checking it out https://youtu.be/N5wpD9Ov_To?si=mZnTh2GM1F8YszG2