选择器1 选择器2{}
中间用空格隔开,外层标记写在外面,内层写在后面
例如

ul li{……}/*后代选择器*/
p span{……}/*同上*/

1 条评论

  1. 小猫咪

    可以用类别选择器,Id好像也可以

添加新评论