日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

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

發布時間:2024/4/17 编程问答 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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

總結

以上是生活随笔為你收集整理的html5圆圈图标,html5移动端环形图标菜单代码的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。