jquery+css实现相册列表三维翻转分页效果代码

代码语言:html

所属分类:其他

代码描述:jquery+css实现相册列表三维翻转分页效果代码

代码标签: jquery css 相册 列表 三维 翻转 分页

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

<!DOCTYPE html>

<head>
    <meta charset="UTF-8">
    <style>
        @import url(https://fonts.googleapis.com/css?family=Oswald|Lobster);
    
    body {
      margin-top: 7%;
      background: #e9eadc;
      background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPHJhZGlhbEdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjUwJSIgY3k9IjUwJSIgcj0iNzUlIj4KICAgIDxzdG9wIG9mZnNldD0iMTklIiBzdG9wLWNvbG9yPSIjZTllYWRjIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2FkYWNhMiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9yYWRpYWxHcmFkaWVudD4KICA8cmVjdCB4PSItNTAiIHk9Ii01MCIgd2lkdGg9IjEwMSIgaGVpZ2h0PSIxMDEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==);
      background: -moz-radial-gradient(center, ellipse cover,  #e9eadc 19%, #adaca2 100%);
      background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(19%,#e9eadc), color-stop(100%,#adaca2));
      background: -webkit-radial-gradient(center, ellipse cover,  #e9eadc 19%,#adaca2 100%);
      background: -o-radial-gradient(center, ellipse cover,  #e9eadc 19%,#adaca2 100%);
      background: -ms-radial-gradient(center, ellipse cover,  #e9eadc 19%,#adaca2 100%);
      background: radial-gradient(ellipse at center,  #e9eadc 19%,#adaca2 100%);
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9eadc', endColorstr='#adaca2',GradientType=1 );
      background-repeat: no-repeat;
      background-attachment: fixed;
      font-family: Oswald, Arial;
      text-align: center;
      color: #47473c;
    }
    
    a {
      color: #47473c;
      font-family: Lobster;
      font-style: normal;
      text-decoration: none;
      font-size: 15px;
    }
    
    a:hover {
      text-decoration: underline;
    }
    
    h1 {
      font-family: Lobster;
      font-weight: normal;
      margin: 0;
    }
    
    #container {
    margin: 0 auto;
    width: 1100px;
    max-width: 1100px;
    -webkit-perspective: 2000px;
       -moz-perspective: 2000px;
        -ms-perspective: 2000px;
         -o-perspective: 2000px;
            perspective: 2000px;
    }
      
      #information {
        margin-top: 1em;
        display: block;
        color: red;
        font-size: 20px;
      }
      
      #navigation a {
        display: inline-block;
        line-height: 2.8em;
        margin-right: 1em;
        width: 40px;
        height: 40px;
        background: rgba(0,0,0,0.1);
        color: #fff;
        border-radius: 40px;
        -webkit-transition: .3s ease-in;
           -moz-transition: .3s ease-in;
            -ms-transition: .3s ease-in;
             -o-transition: .3s ease-in;
                transition: .3s ease-in;
      }
      
      #navigation a.selected, #navigation a:hover {
        background: rgba(0,0,0,.3);
        text-decoration: none;
      }
    
      #portfolio-item {
        display: none;
      }
      
      #portfolio {
        margin: 2em 0 1em;
        -webkit-transform-style: preserve-3d;
           -moz-transform-style: preserve-3d;
            -ms-transform-style: preserve-3d;
             -o-transform-style: preserve-3d;
                transform-style: preserve-3d;
      }
    
      #portfolio div {
        display: inline-block;
        position: relative;
        vertical-align: top;
        margin: 1em;
        width: 200px;
        height: 150px;
        box-shadow: 0px 0px 25px rgba(0,0,0,.3);
      }
      
        #portfolio div span {
          text-align: left;
          position: absolute;
          color: #fff;
          background: rgba(0,0,0,0.6);
          width: 90px;
          padding: 5px 15px 7px;
          z-index: 1;
          left: -10px;
          bottom: 10px;
        }
      
      .animated {
        -webkit-transition: .9s ease-out;
           -moz-transition: .9s ease-out;
            -ms-transition: .9s ease-out;
             -o-transition: .9s ease-out;
                transition: .9s ease-out;
      }
      
      .flipped-horizontal-right {
        -webkit-transform: rotateY(360deg);
           -moz-transform: rotateY(360deg);
            -ms-transform: rotateY(360deg);
             -o-transform: rotateY(360deg);
                transform: rotateY(360deg);
      }
      
      .flipped-horizontal-left {
        -webkit-transform: rotateY(-360deg);
           -moz-transform: rotateY(-360deg);
            -ms-transform: rotateY(-360deg);
             -o-transform: rotateY(-360deg);
                transform: rotateY(-360deg);
      }
      
      .flipped-vertical-top {
        -webkit-transform: rotateX(360deg);
           -moz-transform: rotateX(360deg);
            -ms-transform: rotateX(360deg);
             -o-transform: rotateX(360deg);
                transform: rotateX(360deg);
      }
      
      .flipped-vertical-bottom {
        -webkit-transform: rotateX(-360deg);
           -moz-transform: rotateX(-360deg);
            -ms-transform: rotateX(-360deg);
             -o-transform: rotateX(-360deg);
                transform: rotateX(-360deg);
      }
    </style>
</head>

<body>

    <div id="container">

        <span id="information" style="display:none">Your browser doesn't support CSS3 3D Transform</span>
        <h1>jquery 3D分页翻转滑块</h1>

        <div id="portfolio"></div>

        <ul id="portfolio-item">
            <li><img src="//repo.bfw.wiki/bfwrepo/image/5fb34b65ae8bb.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_300,h_200,/quality,q_90" alt="Dump Truck" /></li>
            <li><img src="//repo.bfw.wiki/bfwrepo/image/5fc8aa82a7330.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_300,h_200,/quality,q_90" alt="Rrwooo" /></li>
            <li><img src="//repo.bfw.wiki/bfwrepo/image/607d718558628.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_300,h_200,/quality,q_90" alt="Dozer" /></li>
            <li><img src="//repo.bfw.wiki/bfwrepo/image/60b585d92d2c6.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_300,h_200,/quality,q_90" alt="Ltah" /></li>
            <li><img src="//repo.bfw.wiki/bfwrepo/image/61ac60be5ec44.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_300,h_200,/quality,q_90" alt="Pirates" /></li>
            <li><img src="//repo.bfw.wiki/bfwrepo/image/61cc6fc26b620.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_300,h_200,/quality,q_90" alt="Rustler" /></li>
            <li><img src="//repo.bfw.wiki/bfwrepo/image/625e10c281dc9.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_300,h_200,/quality,q_90" alt="Satellite" /></li>
            <li><img src="//repo.bfw.wiki/bfwrepo/image/6275a2464efe8.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_300,h_200,/quality,q_90" alt="Werewolf" /></li>
            <li><img src="//repo.bfw.wiki/bfwrepo/image/62842707b1cc9.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_300,h_200,/quality,q_90" alt="Box Socks" /></li>
            <li><img src="//repo.bfw.wiki/bfwrepo/image/628427972e557.png?x-oss-process=image/auto-orient,1/resize,.........完整代码请登录后点击上方下载按钮下载查看

网友评论0