concept
used-value — CSS reference
The used value is the value obtained when remaining dependencies needed by the formatting process are resolved. For example, a percentage width may need the containing block’s size. Some properties do not apply to a given box and therefore have no used value there.
Formal Syntax & Structure
css syntaxcss
width: 50%;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS reference lab</title><style>#parent {width:240px} #a {width:50%} #b {width:auto}</style><body><div id="parent"><div id="a">Sample</div><div id="b">Comparison</div></div></body></html>