0

What is the deference between 50% and 50px

Alignment

23rd Mar 2020, 10:55 AM
Arthur Emmanuel
Arthur Emmanuel - avatar
3 ответов
+ 1
These 2 will only be the same if your screen is only 100 pixels wide. The 50% means that the line you are displaying, for example, will have a length of 50% of the screen width. So if the screen is 900 pixels wide, the line will have a length of 450 pixels. 50p on the other hand, means that the line you are displaying will be only 50 pixels wide, no matter the width of the screen
23rd Mar 2020, 12:03 PM
xaralampis_
xaralampis_ - avatar
+ 1
Thanks bro
23rd Mar 2020, 12:04 PM
Arthur Emmanuel
Arthur Emmanuel - avatar
0
No problem
23rd Mar 2020, 12:05 PM
xaralampis_
xaralampis_ - avatar