• 左右切换css,html


    <!DOCTYPE html>
    <html>

    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <style type="text/css">
    .shade {
    position: absolute;
    display: none;
    100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.55);
    }

    .shade div {
    300px;
    height: 200px;
    line-height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -100px;
    margin-left: -150px;
    background: white;
    border-radius: 5px;
    text-align: center;
    }

    .a-upload {
    position: fixed;
    padding: 25px 15px;
    height: 20px;
    line-height: 20px;
    font-size: 50px;
    position: relative;
    cursor: pointer;
    color: #888;
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    display: inline-block;
    *display: inline;
    *zoom: 1
    }

    .a-upload input {
    position: absolute;
    font-size: 100px;
    right: 0;
    top: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    cursor: pointer
    }

    .a-upload:hover {
    color: #444;
    background: #eee;
    border-color: #ccc;
    text-decoration: none
    }
    .img_div{min-height: 100px; min- 100px;}
    .isImg{ 200px; height: 200px; position: relative; float: left; margin-left: 10px;}
    .removeBtn{position: absolute; top: 0; right: 0; z-index: 11; border: 0px; border-radius: 50px; background: red; 22px; height: 22px; color: white;}
    .shadeImg{position: absolute;
    display: none;
    100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 15;
    text-align: center;
    background: rgba(0, 0, 0, 0.55);}
    .showImg{ 400px; height: 500px; margin-top: 140px;}

    </style>
    <script type="text/javascript">

    </script>
    <title></title>
    </head>

    <body>


    <a href="javascript:;" class="a-upload">
    <input type="file" name="myFile" id="myFile" multiple="multiple" />+
    </a>
    <div class="img_div">
    </div>
    <div class="shade" onclick="javascript:closeShade()">
    <div class="">
    <span class="text_span">

    </span>
    </div>
    </div>

    <div class="shadeImg" onclick="javascript:closeShadeImg()">
    <div class="">
    <img class="showImg" src="">
    </div>
    </div>

    </body>
    <script type="text/javascript" src="js/1..js" ></script>
    </html>

  • 相关阅读:
    Beyond Compare 4 过期操作
    python2 批量转 python3
    【JavaScript】为什么javascript是单线程
    Java之花样玩枚举
    OpenSSL
    OpenSSL和OpenSSH以及私有CA的实现
    Python-线程同步
    Zookeeper基础
    pycharm中使用git以及多分支结构
    BZOJ 4771 主席树+倍增+set
  • 原文地址:https://www.cnblogs.com/lanlanJser/p/13424055.html
Copyright © 2020-2023  润新知