css3仿MacOS苹果系统底部菜单特效源码



14 53 18



特效描述:仿MacOS 苹果系统 底部菜单,css3仿MacOS苹果系统底部菜单特效源码

代码结构

1. 引入CSS

<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Ubuntu">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/icon?family=Material+Icons">

2. HTML代码

<div class="dockposition">
  <div class="content">
    <div class="back"></div>
    <div class="icons">
      <div class="icon" tabindex="1"><i class="material-icons">apps</i>
        <div class="title">Apps</div>
      </div>
      <div class="icon" tabindex="1"><i class="material-icons">folder_open</i>
        <div class="title">Finder</div>
      </div>
      <div class="icon" tabindex="1"><i class="material-icons">settings_brightness</i>
        <div class="title">Brightness</div>
      </div>
      <div class="icon" tabindex="1"><i class="material-icons">settings_voice</i>
        <div class="title">Voice</div>
      </div>
      <div class="icon" tabindex="1"><i class="material-icons">settings</i>
        <div class="title">Settings</div>
      </div>
      <div class="icon" tabindex="1"><i class="material-icons">tune</i>
        <div class="title">Sliders</div>
      </div>
      <div class="icon" id="downloads" tabindex="1"><i class="material-icons open">open_in_browser</i><i class="material-icons close">system_update_alt</i>
        <div class="title">Downloads</div>
        <div class="downloads">
          <div class="download">
            <div class="text">Sublime Text Build 3126.dmg</div>
            <div class="icon"><i class="material-icons">description</i></div>
          </div>
          <div class="download">
            <div class="text">googlechrome.dmg</div>
            <div class="icon"><i class="material-icons">description</i></div>
          </div>
          <div class="download">
            <div class="text">mode-v7.90-x64.dmg</div>
            <div class="icon"><i class="material-icons">description</i></div>
          </div>
          <div class="download">
            <div class="text">VirtualBox-5.1.22-115126.zip</div>
            <div class="icon"><i class="material-icons">unarchive</i></div>
          </div>
          <div class="download">
            <div class="text">snapshot-03-31-2017-36MP.jpg</div>
            <div class="icon"><i class="material-icons">insert_photo</i></div>
          </div>
          <div class="download">
            <div class="text">Open in Finder</div>
            <div class="icon"><i class="material-icons">open_in_new</i></div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<script>
//For the demo only
setTimeout(function() {
    document.getElementById('downloads').classList.add('demo')
}, 1000)
document.body.addEventListener('click', function() {
    document.getElementById('downloads').classList.remove('demo')
});
</script>



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


热门标签: 右键菜单 收缩导航菜单 图片全屏 二级导航菜单 文字提示框 文字收缩展开 文字全屏 下拉导航菜单 提示框/弹出层 图片收缩展开 360全景 竖直导航菜单 layer 图标导航菜单 lightbox 固定导航菜单 侧边导航菜单 Tooltip工具提示框 树形导航菜单 浮动提示框 网址导航菜单 html5弹窗动画 导航菜单插件 文字导航菜单 滚动导航菜单 滑动导航菜单 浮动导航菜单 导航切换 右键菜单 收缩导航菜单 html5动画导航菜单 flash导航菜单 弹出层拖动 窗口提示框 全屏焦点图 收缩收起展开 全屏切换 宽屏全屏满屏 导航菜单导航条

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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