0
℅ vs px
width:100℅ & width:100px re-act differently on my PC, should be like that?
3 Antworten
+ 3
they are completely different on their property, width:100% means the object will occupy the width of whole screen (100% of your screen), while width:100px means the object will have a width of 100 pixels. In another word, if you have a 1080p monitor, 100% will occupy full screen width, while 100px will looks....kinda small in the top left corner
0
Ok thanks a lot man.
0
100% is 100% of your screen but 100px is just pixels of your screen if you have 1000px screen 100px is just 10% of your screen where as 100% covored your whole screen