Transduction
Met *{background: #00f;}
Body {background: #999;}
The idea at the time was the priority of these two roles? (wildcard character is higher than body).
The former wildcard purge (add) style (which is now generally not popular in this way because of the increased client burden, the browser rendering slows down), the latter to the Body Purge (add) style.
Put the above code into the browser (ie, FF and Google) rendered:
Wildcard rendering is not useful:
But it's not finished ...
Silently add Body{background: #999; border:20px solid #0C0}, originally I want to see is border will fill "body" around, but no:
Why is it? Do not understand the first Baidu.
And then found Zhang Xin Xu This article writes: By default, the body is not a height 100% display.
Retrace, the priority scope of HTML, wildcard, and body nodes is tested, and htm> wildcard >body nodes.
Details poke Zhang Xin Xu this article.
Small tip: Priority under the "HTML" body