css 3 & Html实现图像扇形滚动效果id1127-网页前端设计


Warning: Undefined property: stdClass::$maxbutton id="5" in /www/wwwroot/code.5g-o.com/wp-content/plugins/kama-clic-counter/class.KCCounter.php on line 733
<!DOCTYPE html>
<html lang="en">
    <head>
        <title>Rotating Image Slider with jQuery & CSS3</title>
      
        <style>
 
body{
  background-color: #f0f0f0;
  color:#000;
   
}
a{
  color:#000;
  text-decoration:none;
}
 
.rm_wrapper{
  width:1160px;
  margin:0 auto;
  position:relative;
}
.rm_container{
  width:1050px;
  overflow:hidden;
  position:relative;
  height:570px;
  margin:0 auto;
}
 
.rm_container ul{
  width:1170px;
}
.rm_container ul li{
  float:left;
  margin-left:-80px;
  position:relative;
  overflow:hidden;
  width:310px;
  height:465px;
  border:30px solid #f0f0f0;
  border-width:50px 30px 0px 30px;
  background-color:#f0f0f0;
}
.rm_container ul li img{
  position:absolute;
  top:0px;
  left:0px;
}
.rm_mask_right, .rm_mask_left{
  position: absolute;
  height: 110px;
  background: #f0f0f0;
  width: 530px;
  bottom: -30px;
  left: 0px;
  -moz-transform:rotate(-3deg);
  -webkit-transform:rotate(-3deg);
  transform:rotate(-3deg);
}
.rm_mask_right{
  left:auto;
  right:0px;
  -moz-transform:rotate(3deg);
  -webkit-transform:rotate(3deg);
  transform:rotate(3deg);
}
.rm_corner_right, .rm_corner_left{
  background: #f0f0f0;
  position:absolute;
  width:200px;
  height:100px;
  bottom:0px;
  left:-65px;
  -moz-transform:rotate(45deg);
  -webkit-transform:rotate(45deg);
  transform:rotate(45deg);
}
.rm_corner_right{
  left:auto;
  right:-65px;
  -moz-transform:rotate(-45deg);
  -webkit-transform:rotate(-45deg);
  transform:rotate(-45deg);
}
.rm_nav a{
  position:absolute;
  top:200px;
  width:38px;
  height:87px;
  cursor:pointer;
  opacity:0.7;
}
.rm_nav a:hover{
  opacity:1.0;
}
.rm_nav a.rm_next{
  background:transparent url(images/next.png) no-repeat top left;
  right:0px;
}
.rm_nav a.rm_prev{
  background:transparent url(images/prev.png) no-repeat top left;
  left:0px;
}
 
 
        </style>
    </head>
    <body>
    <br><br><br><br><br>
    <div class="content">
       
      <div class="rm_wrapper">
        <div id="rm_container" class="rm_container">
          <ul>
            <li data-images="rm_container_1" data-rotation="-15"><img src="images/1.jpg"/></li>
            
            <li data-images="rm_container_2" data-rotation="-5"><img src="images/2.jpg"/></li>
            
            <li data-images="rm_container_3" data-rotation="5"><img src="images/3.jpg"/></li>
            
            <li data-images="rm_container_4" data-rotation="15"><img src="images/4.jpg"/></li>
          </ul>
          
          <div id="rm_mask_left" class="rm_mask_left"></div>
          
          <div id="rm_mask_right" class="rm_mask_right"></div>
          
          <div id="rm_corner_left" class="rm_corner_left"></div>
          
          <div id="rm_corner_right" class="rm_corner_right"></div>
       
          <div style="display:none;">
            <div id="rm_container_1">
              <img src="images/1.jpg"/>
              <img src="images/5.jpg"/>
              <img src="images/6.jpg"/>
              <img src="images/7.jpg"/>
            </div>
            <div id="rm_container_2">
              <img src="images/2.jpg"/>
              <img src="images/8.jpg"/>
              <img src="images/9.jpg"/>
              <img src="images/10.jpg"/>
            </div>
            <div id="rm_container_3">
              <img src="images/3.jpg"/>
              <img src="images/11.jpg"/>
              <img src="images/12.jpg"/>
              <img src="images/13.jpg"/>
            </div>
            <div id="rm_container_4">
              <img src="images/4.jpg"/>
              <img src="images/14.jpg"/>
              <img src="images/15.jpg"/>
              <img src="images/16.jpg"/>
            </div>
          </div>
        </div>
        <div class="rm_nav">
          <a id="rm_next" href="#" class="rm_next"></a>
          <a id="rm_prev" href="#" class="rm_prev"></a>
        </div>
         
      </div>
    </div>
     
    
    <script src="https://libs.baidu.com/jquery/1.5.2/jquery.min.js"></script>
    
    <script type="text/javascript" src="js/jquery.transform-0.9.3.min_.js"></script>
     
    <script type="text/javascript" src="js/jquery.RotateImageMenu.js"></script>
    </body>
</html>

 在线演示


让链接同时具备两种打开方式

获取源码: css 3 & Html实现图像扇形滚动效果id1127-网页前端设计
下载数:143人次, 文件大小: 1.8 MB, 上传日期: 2020年-12月-23日

公众号回复:gcode  获取解压密码

qrcode_for_gh_6ea2c28a1709_258 (1)

2,018 人查阅

一键获取本网站前端代码设计的所有源码

获取资源构建和完善自己的源码库
源码可以在本地直接演示
同时研究和体验 如何将一些具体的想法的实现过程
源码可以直接嫁接到自己的网站里复用
稍作修改成为自己的作品
下载 (4)

您需要先支付 8元 才能查看此处内容!立即支付

类似文章