jquery实现现场大屏随机抽奖效果代码

代码语言:html

所属分类:其他

代码描述:jquery实现现场大屏随机抽奖效果代码,可设置中奖人数

代码标签: 大屏 随机 抽奖 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title></title>
    <style>
        * {
        margin: 0;
        padding: 0;
        font-family: "微软雅黑", "黑体", arial;
    }
    
    html {
        height: 100%;
        font-size: 12px;
    }
    
    :focus {
        outline: none;
        border: none;
    }
    
    button {
        color: white;
    }
    
    .hide {
        display: none;
    }
    
    html {
        height: 100%;
    }
    
    .Dialog,
    .Confirm {
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        position: fixed;
        z-index: 100;
        display: table;
        text-align: center;
        width: 100%;
        font-size: 1.5rem;
        margin: 0;
        padding: 0;
        left: 0;
        top: 0;
    }
    
    .Dialog > div,
    .Confirm > div {
        display: table-cell;
        text-align: center;
        vertical-align: middle;
        width: 50%;
    }
    
    .Dialog > div > div,
    .Confirm > div > div {
        background: #fff;
        padding: 2rem;
        width: 50rem;
        margin: 0 auto;
        color: #023e73;
        border-radius: 1rem;
        box-sizing: border-box;
    }
    
    .Dialog > div > div button,
    .Confirm > div > div button {
        display: inline-block;
        margin: 2rem 1rem 0 1rem;
        background: #FFC21C;
        padding: 1rem 5rem;
        font-size: 1.2rem;
        color: #fff;
        border: none;
        border-radius: 0.5rem;
    }
    
    #bgLuckyDrawEnd {
        position: absolute;
        z-index: -10;
    }
    
    #bgLuckyDrawEnd.bg {
        background: url(//repo.bfw.wiki/bfwrepo/images/huodong/choujiang/bgLight.png) no-repeat center center;
        -webkit-animation: lightAnimation 5s infinite linear;
        -moz-animation: lightAnimation 5s infinite linear;
        -o-animation: lightAnimation 5s infinite linear;
        animation: lightAn.........完整代码请登录后点击上方下载按钮下载查看

网友评论0