Why text inside
Run code snippetExpand snippet
When else same things happen and what rule shall I know about this problem?
I thought that CSS is inherited by child elements.
This SO answer means that color: CSS property shall be inherited.
P.S. It seems that