相邻兄弟撮合符还或许散漫此外云集符:
html > body table + ul {margin-top:20px;}
这个抉择器告白为:决意紧接在 table 元素后出现的一切兄弟 ul 元素,该 table 元素搜聚在一个 body 元素中,body 元素本人是 html 元素的子元素。
如需转载,请注明文章出处和来源网址:http://www.divcss5.com/css3-style/c53216.shtml
相邻兄弟撮合符还或许散漫此外云集符:
html > body table + ul {margin-top:20px;}
这个抉择器告白为:决意紧接在 table 元素后出现的一切兄弟 ul 元素,该 table 元素搜聚在一个 body 元素中,body 元素本人是 html 元素的子元素。
如需转载,请注明文章出处和来源网址:http://www.divcss5.com/css3-style/c53216.shtml