+ 2
what is the diffrrence between px and%?
2 Answers
+ 4
px is the actual size in pixels while the % is the size depending of the parent element.
+ 1
You will notice that % is USUALLY better when you change screen sizes. you should use % to make responsive designs.
px means pixels. Keep in mind that different devices have different screen sizes. a laptop screen is usually smaller than a desktop.