unit
px — CSS reference
The CSS pixel is a reference length, not necessarily one hardware pixel. It is the basis of absolute CSS length conversions.
Formal Syntax & Structure
css syntaxcss
24pxWorking Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS reference lab</title><style>html {font-size:16px} #a {font-size:20px;width:24px}</style><body><div id="parent"><div id="a">Sample</div><div id="b">Comparison</div></div></body></html>