+ 1
What is difference between pixels and percentage
2 Answers
+ 6
Pixels (px): Pixels are fixed-size units that are used in screen media (i.e. to be read on the computer screen). One pixel is equal to one dot on the computer screen (the smallest division of your screenâs resolution). Many web designers use pixel units in web documents in order to produce a pixel-perfect representation of their site as it is rendered in the browser. One problem with the pixel unit is that it does not scale upward for visually-impaired readers or downward to fit mobile devices.
Percent (%): The percent unit is much like the âemâ unit, save for a few fundamental differences. First and foremost, the current font-size is equal to 100% (i.e. 12pt = 100%). While using the percent unit, your text remains fully scalable for mobile devices and for accessibility.
A pixel is a pixel, a percent is a percent. 1 percent of 1200 pixels is 12 pixels. 1 pixel is always 1 pixel.
+ 2
Thank you for your response