码迷,mamicode.com
首页 > 其他好文 > 详细

遮罩层

时间:2016-12-21 20:29:43      阅读:154      评论:0      收藏:0      [点我收藏+]

标签:enter   scroll   position   add   java   scale   maximum   port   css   

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <script type="text/javascript" src="http://cdn.bootcss.com/jquery/2.1.4/jquery.js"></script>
    <style type="text/css">
        html{
            font-size: 62.5%;
        }
        .pop{
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
        }
        .pop .popMain{ 
            width: 90%;
            margin-left: 5%;
            background: #fff;
            position: absolute;
            top: 10%;
            }
        .popTop{
            height: 3rem;
            line-height: 3rem;
            background: #fff;
        }
        .popMiddle{
            height: 18.75rem;
            max-height: 18.75rem;
            overflow-x: scroll;
        }
        .popMiddle p{ 
            text-align: center;
            font-size: 1.125rem; 
            color: #666;
            padding: 5.625rem 0;
        }
        .pop .popBottom{ 
            position: fixed; 
            bottom: 0; left: 0; 
            display: flex; 
            width: 100%; 
            height: 3.125rem; 
            text-align: center; 
            background: #66B278;
        }
        .pop .popBottom span{ 
            flex: 1; 
            text-align: center; 

 

遮罩层

标签:enter   scroll   position   add   java   scale   maximum   port   css   

原文地址:http://www.cnblogs.com/Gabriel-Wei/p/6208612.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!