In the CSS Basic Tutorial Combination Selector, are the examples of descendant element selectors and child element selection examples exchanged? These two examples do not seem to correspond to the example code. Descendant element selector example: div .title{ color:red;}. The example is div h1.title{background-color:yellow;} div p.paragraph{background-color:#88ff88;}
秋香姐家的小书童2018-10-27 10:38:47
I don’t quite understand what you said, but here div h1.title{background-color:yellow;} The child element .title under H1 needs to have a space between it and H1