html+css實現3D旋轉圖片展示,

來源:互聯網
上載者:User

html+css實現3D旋轉圖片展示,

<strong><span style="font-size:12px;"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>  <head>    <title>MyHtml.html</title>    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">    <meta http-equiv="description" content="this is my page">    <meta http-equiv="content-type" content="text/html; charset=UTF-8">    <!--<link rel="stylesheet" type="text/css" href="./styles.css">--><style type="text/css">*{margin:0px ; padding:0px}body{background:url("imgs/bg.jpg")}.list{width:1200px; height:700px;background:rgba(0,0,0,0.3 );box-shadow:0px 0px 5px #000;margin:20px auto;}.list ul{padding:2px 0px;list-style-type:none;}.list ul li{width:240px;height:256px;float:left;margin:36px 25px;padding:5px;perspective:1000px;}.list .move{width:240px;height:256px;transform-style:preserve-3D;transform:translateZ(-30px);/*延長時間 */transition:transform 12s}.list .move .poster,.list .move .infor{position:absolute;border:1px solid #99FF00;width:230px;height:246px;backface-visibility:hidden;}.list .move .poster{transform:translateZ(130px);}.list .move .infor{transform:rotateY(90deg) translateZ(130px);}.list ul li:hover .move{transform:rotateY(-88deg) translateZ(20px);}.list ul li:hover .move .poster,.list .move .infor{border-radius:12px;box-shadow:0px 0px 6px #CC00CC;overflow:hidden;}</style>  </head>  <body>  <div class="list">  <ul>  <li><div class="move"><div class="poster"><img src="imgs/1.jpg" width=230px height=246px/></div><div class="infor"><img src="imgs/2.jpg" width=230px height=246px/></div></div></li><li><div class="move"><div class="poster"><img src="imgs/3.jpg" width=230px height=246px/></div><div class="infor"><img src="imgs/4.jpg" width=230px height=246px/></div></div></li><li><div class="move"><div class="poster"><img src="imgs/5.jpg" width=230px height=246px/></div><div class="infor"><img src="imgs/6.jpg" width=230px height=246px/></div></div></li><li><div class="move"><div class="poster"><img src="imgs/7.jpg" width=230px height=246px/></div><div class="infor"><img src="imgs/8.jpg" width=230px height=246px/></div></div></li><li><div class="move"><div class="poster"><img src="imgs/9.jpg" width=230px height=246px/></div><div class="infor"><img src="imgs/10.jpg" width=230px height=246px/></div></div></li><li><div class="move"><div class="poster"><img src="imgs/11.jpg" width=230px height=246px/></div><div class="infor"><img src="imgs/12.jpg" width=230px height=246px/></div></div></li><li><div class="move"><div class="poster"><img src="imgs/13.jpg" width=230px height=246px/></div><div class="infor"><img src="imgs/14.jpg" width=230px height=246px/></div></div></li><li><div class="move"><div class="poster"><img src="imgs/15.jpg" width=230px height=246px/></div><div class="infor"><img src="imgs/16.jpg" width=230px height=246px/></div></div></li><li><div class="move"><div class="poster"><img src="imgs/17.jpg" width=230px height=246px/></div><div class="infor"><img src="imgs/18.jpg" width=230px height=246px/></div></div></li><li><div class="move"><div class="poster"><img src="imgs/19.jpg" width=230px height=246px/></div><div class="infor"><img src="imgs/20.jpg" width=230px height=246px/></div></div></li><li><div class="move"><div class="poster"><img src="imgs/21.jpg" width=230px height=246px/></div><div class="infor"><img src="imgs/22.jpg" width=230px height=246px/></div></div></li>  </ul>  </div>  </body></html></span></strong>

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.