开发者社区 问答 正文

选项卡切换背景问题

screenshot

css代码

.videom ul li.on {background: url(images/v1_03.png) no-repeat;color: #fff;
z-index: 1;}
.videom ul li {
width: 132px;
height: 57px;
float: left;
position: relative;
margin-left: -22px;
background: url(images/v_03.png) no-repeat;
}

展开
收起
a123456678 2016-03-26 14:53:54 2077 分享 版权
1 条回答
写回答
取消 提交回答
  • 看你的问题应该是哪个

    标签处于active状态就加上on的类吧?
    试下background: url(images/v1_03.png) no-repeat !important;
    还有css代码.on前面不需要跟.videom ul li
    2019-07-17 19:16:14
    赞同 展开评论
问答分类:
问答地址: