jquery.eraser实现刮奖显示结果效果代码

代码语言:html

所属分类:电商

代码描述:jquery.eraser实现刮奖显示结果效果代码

代码标签: 显示 结果 效果

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

<!DOCTYPE html>
<html style="font-size: 40px;">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>jquery.eraser刮奖效果 www.bootstrap.com</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Cache-Control" content="no-transform">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="layoutmode" content="standard">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="renderer" content="webkit">
    <meta name="wap-font-scale" content="no">
    <meta content="telephone=no" name="format-detection">
    <meta http-equiv="Pragma" content="no-cache">
    <script type="text/javascript">
        var _htmlFontSize = (function () {
            var clientWidth = document.documentElement ? document.documentElement.clientWidth: document.body.clientWidth;
            if (clientWidth > 640) clientWidth = 640;
            document.documentElement.style.fontSize = clientWidth * 1 / 16 + "px";
            return clientWidth * 1 / 16;
        })();
    </script>
    <style>

        * {
            -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
            margin: 0;
            -webkit-touch-callout: none;
            /* prevent callout to copy image, etc when tap to hold */
            -webkit-text-size-adjust: none;
            /* prevent webkit from resizing text to fit */
            /* make transparent link selection, adjust last value opacity 0 to 1.0 */
            -webkit-user-select: none;
            /* prevent copy paste, to allow, change 'none' to 'text' */
            /* -webkit-tap-highlight-color: rgba(0,0,0,0); */
        }

        html {
            height: 100%
        }

        input,
        textarea {
            -webkit-user-select: text
        }

        a {
            color: #000;
            padding: 0;
            text-decoration: none;
            cursor: pointer;
            font-family: "\5FAE\8F6F\96C5\9ED1", Helvetica, "黑体", Arial, Tahoma
        }

        video {
            width: 100%
        }

        input[type="radio"],
        input[type="checkbox"] {
            vertical-align: -2px
        }

        .main_box {
            position: relative;
            margin: 0 auto;
            width: 100%;
            height: 100%;
            background: #CD261D;
            background: url(//repo.bfw.wiki/bfwrepo/image/5fc49de4f2986.png) center no-repeat;
            background-size: cover;
            font-family: "\5FAE\8F6F\96C5\9ED1", Helvetica, "黑体", Arial, Tahoma
        }

        .main_box .box {
            width: 100%;
            padding-top: 50px;
            /*background: #CD261D;*/
            border-radius: 10px;
            -webkit-border-radius: 10px;
        }

        .main_box .box .bg_in {
            border-radius: 6px;
            -webkit-border-radius: 6px;
        }

        .main_box .box .bg_in .title {
            color: #fff;
            font-size: 0.9rem;
            text-align: center;
            padding: 0.25rem 0;
        }

        .main_box .box .content {
            z-index: 10;
            position: relative;
            width: 13rem;
            height: 6rem;
            margin: 0 auto 0 auto;
            background: #CD261D;
            border-radius: 6px;
            -webkit-border-radius: 6px;
        }

        #ma.........完整代码请登录后点击上方下载按钮下载查看

网友评论0