1. <ul id="0c1fb"></ul>

      <noscript id="0c1fb"><video id="0c1fb"></video></noscript>
      <noscript id="0c1fb"><listing id="0c1fb"><thead id="0c1fb"></thead></listing></noscript>

      99热在线精品一区二区三区_国产伦精品一区二区三区女破破_亚洲一区二区三区无码_精品国产欧美日韩另类一区

      RELATEED CONSULTING
      相關(guān)咨詢
      選擇下列產(chǎn)品馬上在線溝通
      服務(wù)時間:8:30-17:00
      你可能遇到了下面的問題
      關(guān)閉右側(cè)工具欄

      新聞中心

      這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
      css3中怎么實現(xiàn)圖片放大鏡特效效果-創(chuàng)新互聯(lián)

      這篇文章將為大家詳細(xì)講解有關(guān)css3中怎么實現(xiàn)圖片放大鏡特效效果,文章內(nèi)容質(zhì)量較高,因此小編分享給大家做個參考,希望大家閱讀完這篇文章后對相關(guān)知識有一定的了解。

      成都創(chuàng)新互聯(lián)公司從2013年開始,是專業(yè)互聯(lián)網(wǎng)技術(shù)服務(wù)公司,擁有項目成都網(wǎng)站設(shè)計、網(wǎng)站建設(shè)網(wǎng)站策劃,項目實施與項目整合能力。我們以讓每一個夢想脫穎而出為使命,1280元屏南做網(wǎng)站,已為上家服務(wù),為屏南各地企業(yè)和個人服務(wù),聯(lián)系電話:18980820575

      代碼如下:




      css代碼:



      代碼如下:


      .gallery
      {
      list-style: none;
      }
      .gallery:before, .gallery__item:last-child
      {
      position: fixed;
      top: 50%;
      left: 50%;
      margin: -31.25em;
      width: 62.5em;
      height: 62.5em;
      }
      .gallery:before
      {
      z-index: -1;
      border-radius: 50%;
      content: '';
      box-shadow: inset 0 0 5em dimgrey, 0 0 0 50vw dimgrey;
      }
      .gallery__item
      {
      background-blend-mode: luminosity;
      transition: -webkit-transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-image 0.5s;
      }
      .gallery__item:not(:last-child)
      {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 32vmin;
      height: 32vmin;
      border-radius: 50%;
      box-shadow: 0 0 .5em white;
      }
      .gallery__item:nth-child(1)
      {
      margin: 13.87457vmin -4.53223vmin;
      -webkit-transform: scale(0.5);
      background: url("imgs/1.jpg") 50% 50% fixed whitesmoke;
      }
      .gallery__item:nth-child(1):hover
      {
      -webkit-transform: scale(1);
      background-blend-mode: normal;
      cursor: pointer;
      }
      .gallery__item:nth-child(1):hover ~ :last-child
      {
      background: url("imgs/1.jpg") 50% 50% fixed dimgray;
      }
      .gallery__item:nth-child(1):hover ~ :last-child:after
      {
      opacity: .001;
      }
      .gallery__item:nth-child(2)
      {
      margin: 4.13825vmin -40.86867vmin;
      -webkit-transform: scale(0.5);
      background: url("imgs/2.jpg") 50% 50% fixed whitesmoke;
      }
      .gallery__item:nth-child(2):hover
      {
      -webkit-transform: scale(1);
      background-blend-mode: normal;
      cursor: pointer;
      }
      .gallery__item:nth-child(2):hover ~ :last-child
      {
      background: url("imgs/2.jpg") 50% 50% fixed dimgray;
      }
      .gallery__item:nth-child(2):hover ~ :last-child:after
      {
      opacity: .001;
      }
      .gallery__item:nth-child(3)
      {
      margin: -33.42845vmin -42.83746vmin;
      -webkit-transform: scale(0.5);
      background: url("imgs/3.jpg") 50% 50% fixed whitesmoke;
      }
      .gallery__item:nth-child(3):hover
      {
      -webkit-transform: scale(1);
      background-blend-mode: normal;
      cursor: pointer;
      }
      .gallery__item:nth-child(3):hover ~ :last-child
      {
      background: url("imgs/3.jpg") 50% 50% fixed dimgray;
      }
      .gallery__item:nth-child(3):hover ~ :last-child:after
      {
      opacity: .001;
      }
      .gallery__item:nth-child(4)
      {
      margin: -46.90963vmin -7.71779vmin;
      -webkit-transform: scale(0.5);
      background: url("imgs/4.jpg") 50% 50% fixed whitesmoke;
      }
      .gallery__item:nth-child(4):hover
      {
      -webkit-transform: scale(1);
      background-blend-mode: normal;
      cursor: pointer;
      }
      .gallery__item:nth-child(4):hover ~ :last-child
      {
      background: url("imgs/4.jpg") 50% 50% fixed dimgray;
      }
      .gallery__item:nth-child(4):hover ~ :last-child:after
      {
      opacity: .001;
      }
      .gallery__item:nth-child(5)
      {
      margin: -17.67475vmin 15.95615vmin;
      -webkit-transform: scale(0.5);
      background: url("imgs/5.jpg") 50% 50% fixed whitesmoke;
      }
      .gallery__item:nth-child(5):hover
      {
      -webkit-transform: scale(1);
      background-blend-mode: normal;
      cursor: pointer;
      }
      .gallery__item:nth-child(5):hover ~ :last-child
      {
      background: url("imgs/5.jpg") 50% 50% fixed dimgray;
      }
      .gallery__item:nth-child(5):hover ~ :last-child:after
      {
      opacity: .001;
      }
      .gallery__item:last-child
      {
      z-index: -2;
      }
      .gallery__item:last-child:after
      {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      opacity: .999;
      background: dimgrey;
      transition: opacity 2s;
      content: '';
      }


      關(guān)于css3中怎么實現(xiàn)圖片放大鏡特效效果就分享到這里了,希望以上內(nèi)容可以對大家有一定的幫助,可以學(xué)到更多知識。如果覺得文章不錯,可以把它分享出去讓更多的人看到。


      當(dāng)前名稱:css3中怎么實現(xiàn)圖片放大鏡特效效果-創(chuàng)新互聯(lián)
      當(dāng)前網(wǎng)址:http://www.ef60e0e.cn/article/cdsogs.html
      99热在线精品一区二区三区_国产伦精品一区二区三区女破破_亚洲一区二区三区无码_精品国产欧美日韩另类一区
      1. <ul id="0c1fb"></ul>

        <noscript id="0c1fb"><video id="0c1fb"></video></noscript>
        <noscript id="0c1fb"><listing id="0c1fb"><thead id="0c1fb"></thead></listing></noscript>

        扶风县| 科技| 宜章县| 寿阳县| 临洮县| 永顺县| 沈阳市| 儋州市| 大关县| 洛浦县| 望江县| 济源市| 济南市| 安达市| 苏尼特左旗| 自治县| 临邑县| 梅河口市| 南安市| 宜昌市| 长沙市| 察隅县| 资溪县| 亚东县| 阜阳市| 龙口市| 肇州县| 浦城县| 孟连| 青冈县| 文山县| 盐津县| 呼玛县| 阳谷县| 灵寿县| 永年县| 长葛市| 淅川县| 通化县| 个旧市| 正镶白旗|