concept

declared-value — CSS reference

For one property on one element, declared values are the eligible values contributed by applicable declarations, before cascade sorting. A matching declaration with an invalid property value can be discarded during parsing. A declaration for another element is not part of this element’s declared-value set.

Formal Syntax & Structure

css syntaxcss
p { color: #184168; } .note { color: #006050; }

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS reference lab</title><style>#a {color:#184168} div#a {color:#006050} #b {color:#184168;color:bogus}</style><body><div id="parent"><div id="a">Sample</div><div id="b">Comparison</div></div></body></html>
CSS Reference