html5选项卡tag,html5 选项卡

选项卡

*{margin: 0;padding: 0;}

ul li{

padding: 3%;

list-style: none;

33.3%;

float: left;

box-sizing: border-box;

}

ul li img{

100%;

display: block;

}

.pox{

font-size: 30px;

}

.show img{

50%;

padding: 3%;

}

@media only screen and (min-960px){

html{

font-size: 19px;

}

}

@media only screen and (max-959px){

html{

font-size: 15px;

}

ul li{

50%;

}

.pox{

font-size: 20px;

}

}

@media only screen and (max-767px){

html{

font-size: 12px;

}

ul li{

100%;

float: none;

}

.pox{

font-size:12px;

}

}

.dn{

display: none;

}

/*html{

font-size: 20px;

}*/

/*.box{

box-sizing: border-box;

100%;

height: 26.9rem;  乘以根元素10px

background:  url(images/caodi.png) no-repeat center top ;

-webkit-background-size: 100% 100%;

background-size: 100% 100%;

}   */

hello,world!

001

         

002

         

003

         

// 鼠标经过选项卡

$(".TAB li").mousemove(function(){

var $vv=$(this).parent(".TAB").attr("id");

$($vv).hide();

$(this).parent(".TAB").find("li").removeClass("hover");

var xx=$(this).parent(".TAB").find("li").index(this);

$($vv).eq(xx).show();

$(this).addClass("hover");

});

// 鼠标点击选项卡

// $(".TAB_CLIKE li").click(function(){

//             var $vv=$(this).parent(".TAB").attr("id");

//             $($vv).hide();

//             $(this).parent(".TAB").find("li").removeClass("hover");

//             var xx=$(this).parent(".TAB").find("li").index(this);

//             $($vv).eq(xx).show();

//             $(this).addClass("hover");

//         });

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值