@Joshtemi0
Posted
Great job
Not a problem using px
. It is just that you will have to be using higher number in setting px
. So for me I do use rem
and it is easy to calculate
Hope this is helpful.
Marked as helpful
@geomydas
Posted
@Joshtemi0 you are wrong about the rem and px part. rem is relative the user font-size (it can be change in the settings) and px isn't.
you often use rem if you want to scale it with the font-size and you will only ever use px on very small things such as border, border-radius, outline, shadows + if you dont want it to scale with the set user font size. here's an article for some of the exceptions
Marked as helpful
@Joshtemi0
Posted
@geomydas
Thank you
Just saying
for example trying to set a height of 10rem
. If using px
you will have to use 100px
. So just suggesting to use rem
in this case. Just to avoid large numbers.
Or that do you think ??
@VincinChristmas
Posted
I notice that my solution is bigger and looks just a tad bit different from the real picture here. Does it need to match exactly? Should I go back and make changes? @geomydas
@geomydas
Posted
@Joshtemi0 quite different, look at what i said earlier. you shouldn't just use rem because it makes it easier for larger numbers. also you are wrong about the conversion: 1 rem = 16px (depends on the users setting but this is the default);
@geomydas
Posted
@VincinChristmas its okay if the some of the margins, spacings are off. there's no need to make it "pixel perfect". in the real world, achiving pixel perfect is almost impossible to deadlines and other things. if you can make it pixel perfect, thats okay. if not, thats also okay
Marked as helpful
@Joshtemi0
Posted
@geomydas Yeah. Forgot it's 16px.
Also the guy is asking you a question
Marked as helpful
@geomydas
Posted
@Joshtemi0 I already responded to his other question, no worries
@Joshtemi0
Posted
@geomydas
Yeah. Seen