Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

difference between and px in css

Conclusion. The px belongs to the absolute category of length units whereas the em and %(percentage) refers to the relative class of sizing units. The value of px is fixed over the HTML document but the em and %(percentage) depends on the unit used by the parent element.
 
PREVIOUS NEXT
Tagged: #difference #px #css
ADD COMMENT
Topic
Name
6+3 =