+ 1
Explain
measuering with % and px is the same and why is that?
3 Respuestas
+ 3
Hello, Tharindu Warnapura !
Pixels (px) depend on the browser. This is the absolute size that you will see on the screen.
Em are a kind of percent. It refers to the size of the base text. The value of 1 em means the same as 100 percent. But you can also say this in the opposite way: the percentage value is just Em multiplied by 100.
Points (pt) are what you would like to use on print media.
+ 6
% is percent of available space.
px is pixels.
So 50% is half way across the screen.
50px is just a short distance across.
+ 1
tnx