利用js css3实现曲线循环菜单切换代码



14 54 19



特效描述:利用js css3实现 曲线循环菜单 切换代码,利用js css3实现曲线循环菜单切换代码

代码结构

1. 引入CSS

<link rel="stylesheet" href="css/style.css">

2. 引入JS

<script  src="js/index.js"></script>

3. HTML代码

<div class="container">
  <div class="c-menu">
    <div id="list" class="items-list">
          <div class="item">
            <a href="" 
               data-img="img/1.jpg"
               target="_blank" 
               rel="noopener">
               Sass: Документация на русском языке
            </a>
          </div>
          <div class="item">
            <a href="" 
               data-img="img/2.jpg"
               target="_blank" 
               rel="noopener">
               Color Hex Color Codes
            </a>
          </div>
          <div class="item">
            <a href="" 
               data-img="img/3.jpg"
               target="_blank" 
               rel="noopener">
               WebReference
            </a>
          </div>
          <div class="item">
            <a href=""
               data-img="img/4.jpg"
               target="_blank" 
               rel="noopener">
               W3Schools Online Web Tutorials
            </a>
          </div>
          <div class="item">
            <a href="" 
               data-img="img/5.jpg"
               target="_blank" 
               rel="noopener">
               Современный учебник Javascript
            </a>
          </div>
          <div class="item">
            <a href="" 
               data-img="img/6.jpg"
               target="_blank" 
               rel="noopener">
              Can I use... Support tables for HTML5, CSS3, etc
            </a>
          </div>
          <div class="item">
            <a href="" 
               data-img="img/7.jpg"
               target="_blank" 
               rel="noopener">
               CSS-Tricks
            </a>
          </div>
          <div class="item">
            <a href="" 
               data-img="img/8.jpg"
               target="_blank" 
               rel="noopener">
               CodePen
            </a>
         </div>
          <div class="item">
            <a href=""
               data-img="img/9.jpg"
               target="_blank" 
               rel="noopener">
               Таблица символов Юникода®
            </a>
          </div>
          <div class="item">
            <a ref="" 
               data-img="img/10.jpg"
               target="_blank" 
               rel="noopener">
               Font Awesome
            </a>
          </div>
          <div class="item">
            <a href="" 
               data-img="img/11.jpg"
               target="_blank" 
               rel="noopener">
               Vue.js
            </a>
          </div>
          <div class="item">
            <a href="" 
               data-img="img/12.jpg"
               target="_blank" 
               rel="noopener">
               PHP: Что такое PHP? - Manual
            </a>
          </div>
          <div class="item">
            <a href=""
               data-img="img/13.jpg"
               target="_blank" 
               rel="noopener">
               SQL.ru - все про SQL
            </a>
          </div>
    </div>
    <div class="top"></div>
    <div class="btn prev" onClick="animation({}, 1);">˄</div>
       <div id="pic" class="img-box"></div>
    <div class="btn next" onClick="animation({}, 0);">˅</div>
    <div class="bottom"></div>
  </div>  
</div>
<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
</div>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 渐隐切换 淡出淡进 淡出 淡进 切换按钮 表单 表单美化 表单插件 表单美化插件 图片淡出淡进 图片淡出 图片淡进 按钮控制

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到