为了账号安全,请及时绑定邮箱和手机立即绑定

.wrapper > div:nth-last-of-type(5){ background: orange; }

.wrapper > div:nth-last-of-type(5){

  background: orange;

}


正在回答

1 回答

.wrapper下面有好几种类型元素,选择倒数第5个div,用nth-last-of-type(5)

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

.wrapper > div:nth-last-of-type(5){ background: orange; }

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信