#form{ } .box{} input[type="text"] ul li:nth-of-type(1){ } /*包含*/ ul li{} /*子对象选择符*/ ul>li{} .div1 span, #div1 span, div div p{ }