jquery实现堆叠拼图式相册图片点击放大切换效果代码

代码语言:html

所属分类:画廊相册

代码描述:jquery实现堆叠拼图式相册图片点击放大切换效果代码。

代码标签: jquery 相册 拼图 堆叠 放大 切换 图片

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

<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum=1.0,minimum=1.0,user-scalable=0" />
    <style>
        * {
        margin: 0;
        padding: 0;
    }
    
    html {
        overflow: scroll;
        overflow-x: hidden;
    }
    
    body,html {
        width: 100%;
        height: 100%;
        font-family: '寰蒋闆呴粦', Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
    }
    
    body {
        background: url(//repo.bfw.wiki/bfwrepo/image/5f14d32694ad3.png) top center;
    }
    
    ul,ol {
        list-style: none;
    }
    
    img {
        display: block;
        border: none;
    }
    
    .clearfix:after {
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }
    
    .clearfix {
        display: inline-block;
    }
    
    * html .clearfix {
        height: 1%;
    }
    
    .clearfix {
        display: block
    }
    
    .clearfix:after {
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }
    
    .clearfix {
        display: inline-block;
    }
    
    * html .clearfix {
        height: 1%;
    }
    
    .clearfix {
        display: block
    }
    
    .banner {
        width: 100%;
        height: 100px;
        position: fixed;
        z-index: 1;
    }
    
    .jay {
        width: 263px;
        height: 200px;
        position: fixed;
        top: 6%;
        left: 10%;
        z-index: 0;
    }
    
    .container {
        width: 800px;
        height: 500px;
        position: fixed;
        top: 50%;
        left: 50%;
        margin-top: -250px;
        margin-left: -400px;
        z-index: 2;
    }
    
    .content {
        width: 100%;
        height: 100%;
        position: relative;
        z-index: 3;
    }
    
    .content li {
        width: 160px;
        height: 100px;
        position: absolute;
        left: 42%;
        top: 160%;
        cursor: pointer;
        overflow: hidden;
        z-index: 9;
        background: #ffffff;
        box-shadow: 1px 1px 3px 0px #000000;
        transition: transform 1s;
        -0-transition: -o-transform 1s;
        -moz-transition: -moz-transform 1s;
        -webkit-transition: -webkit-transform 1s;
    }
    
    .content li span,.content li span a,.content li span img,.content li span strong {
        display: block;
        width: 100%;
        height: 100%;
    }
    
    .content li span {
        position: relative;
    }
    
    .content li span a,.content li span strong {
        position: absolute;
        z-index: 10;
        display: none;
    }
    
    .content li span strong {
        left: 160px;
    }
    
    .content li span a img {
        z-index: 9;
    }
    
    .load {
        width: 100%;
        height: 100%;
        position: fixed;
        z-index: 12;
    }
    
    .load span {
        display: block;
        width: 32px;
        height: 32px;
        background: #ffffff;
        padding: 10px;
        position: fixed;
        top: 50%;
        left: 50%;
        margin-left: -21px;
        margin-top: -21px;
     .........完整代码请登录后点击上方下载按钮下载查看

网友评论0