html5圆圈图标,html5移动端环形图标菜单代码

特效描述:html5移动端 环形图标菜单。html5移动端环形图标菜单代码

代码结构

1. 引入JS

2. HTML代码



html5移动端环形图标菜单代码

window.οnlοad=function(){

$(".one").on("tap",function(){

$(".box-listp").css({width:15,height:15,opacity:0,top:0,left:0,right:0,bottom:0,margin:"auto"})

})

$(".box-list1").on('tap',function(){

$(".box-list2").css({top:-120,left:-120});

$(".box-list3").css({top:140,left:-20});

$(".box-list4").css({top:90,right:-90});

$(".box-list5").css({top:-100,right:-80});

$(".box-list6").css({bottom:-60,left:-150});

$(".box-listp").css({width:45,height:45,opacity:1});

})

}

.box{

width:400px;

height:400px;

background:url(img/bj1.jpg) no-repeat;

background-size:contain;

margin:100px auto;

}

.box-con{

width:380px;

height:40px;

float:left;

position:relative;

margin-left:10px;

}

.one{

width:60px;

height:25px;

line-height:25px;

background:red;

font-family:"eras medium itc";

text-align:center;

color:#fff;

position:absolute;bottom:0;right:0;

transition:all 2s;

cursor:pointer;

}

.box-con2{

width:100%;

height:100px;

margin:20px auto;

float:left;

}

.box-list{

width:200px;

height:240px;

overflow:hidden;

margin:0 auto;

position:relative;

}

.box-list1{

border-radius:50%;

width:46px;

height:50px;

background:url(img/2.png);

background-size:contain;

position:absolute;

left:0;right:0;bottom:0;top:0;

margin:auto;

z-index:5;

}

.box-listp{

width:10px;

height:10px;

border-radius:50%;

position:absolute;

opacity:0;

transition:all 1s cubic-bezier(.61,1.81,.56,-0.33);

top:0;right:0;left:0;

bottom:0;margin:auto;

}

.box-list2{

background:url(img/6.jpg);

background-size:contain;

}

.box-list3{

background:url(img/1.jpg);

background-size:contain;

}

.box-list4{

background:url(img/4.jpg);

background-size:contain;

}

.box-list5{

background:url(img/7.jpg);

background-size:contain;

}

.box-list6{

background:url(img/5.jpg);

background-size:contain;

}

close
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值