jquery实现手机端移动端大转盘赢取红包抽奖活动页面代码
代码语言:html
所属分类:大转盘
代码描述:jquery实现手机端移动端大转盘赢取红包抽奖活动页面代码
代码标签: 端 移动 端大 转盘 赢取 红包 抽奖 活动 页面
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>转盘活动</title> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" /> <style> * { margin: 0; padding: 0; border: 0; list-style: none; text-decoration: none; color: inherit; font-weight: normal; font-family: "微软雅黑"; box-sizing: border-box; font-style: normal; outline: none; -webkit-tap-highlight-color: transparent; } body { width: 100%; overflow-x: hidden; background: url(//repo.bfw.wiki/bfwrepo/images/zhuanpan/head-bg.png) top left no-repeat #2767e8; background-size: 100% auto; color: #ac6003; } img { vertical-align: middle; max-width: 100%; } .container { width: 100%; padding: .3rem; } /* 大转盘 */ .lottery { width: 100%; height: auto; display: flex; flex-direction: column; align-items: center; padding-top: 4.45rem; } .lottery .zhuanpan { position: relative; width: 5.3rem; height: 5.3rem; box-shadow: 0 0 .3rem rgba(251,40,30,.3); border-radius: 50%; z-index: 9; } .lottery .zhuanpan .turn { width: 100%; } .lottery .zhuanpan .control { position: absolute; top: 48%; left: 50%; transform: translate(-50%,-50%); width: 1.53rem; height: 1.84rem; } .lottery .btn { width: 100%; padding: .45rem .32rem; padding-top: 1rem; } .lottery .btn button { width: 100%; height: 1rem; line-height: 1rem; font-size: .3rem; color: #fff; background: #ffc924; border-radius: 1rem; box-shadow: 0 .1rem 0 #0013be; } /* 面板卡片 */ .card { width: 100%; padding: .3rem .4rem; background: #fff; border-radius: .2rem; margin-bottom: .5rem; } .card .title { width: 100%; display: flex; justify-content: center; align-items: center; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0