jquery实现拖动圆圈旋钮触控按钮效果代码
代码语言:html
所属分类:拖放
代码描述:jquery实现拖动圆圈旋钮触控按钮效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
html,
body {
width: 100%;
height: 100%;
overflow: hidden;
}
body {
background: #111;
}
.dial {
position: absolute;
width: 350px;
height: 350px;
display: block;
top: 50%;
margin-top: -175px;
left: 50%;
margin-left: -175px;
cursor: pointer;
}
.dial .wrapper {
position: absolute;
width: 300px;
height: 300px;
left: 50%;
top: 50%;
margin-left: -150px;
margin-top: -150px;
border-radius: 300px;
cursor: pointer;
background: linear-gradient(-45deg, #171717 0%, #272727 100%);
box-shadow: inset 0px 1px 1px 0px #999, 0px 0px 0px 4px black;
}
.dial .knob {
position: absolute;
width: 300px;
height: 300px;
left: 50%;
top: 50%;
margin-left: -150px;
margin-top: -150px;
bord.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0