Why is there like 1 percent difference between the HTML CSS version and the Figma design?

Hello good folks, I have completed my second FEM challenge and for my first and second solution there's like a 1 percent difference between the actual design and my solution. why do you think that is? I am using exact same values for everything, down to the last pixel.
4 Replies
Jochem
Jochem2mo ago
Because pixel perfect isn't possible
ἔρως
ἔρως2mo ago
there is a difference in height when comparing both seems to be 1px or so but, as jochem said, pixel perfect is impossible unless you use the same exact pc, on the same exact software version of everything, then you wont have the same exact result
Jochem
Jochem2mo ago
judging by the side by side, it's likely that the font rendering is slightly different between the two, which might cause the height difference too
ἔρως
ἔρως2mo ago
yup, that too

Did you find this page helpful?