代码如下
.handle_menu_content:not(:empty){
width: 90px;
position: fixed;
z-index: 999999;
top: 0;
z-index: 9999999;
left: 38px;
background: #fff;
border-radius:3px;
border: 1px solid #B3CAF5;;
line-height: 1;
}
用于选中最后一个元素 :last-of-type
.status_btn_outer:last-of-type{
button{
border-right: 1px solid #D2DCED;
}
}
上面一行代码选中的还是类为status_btn_outer的最后一个元素
如果要选选中某一个元素内部的最后一个元素 请使用:last-of-child
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有