Is the example here wrong?
肥涛
肥涛 2018-10-26 23:20:05
0
1
1132

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;}

肥涛
肥涛

reply all(1)
秋香姐家的小书童

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!