js+css实现立体图标按钮导航条点击效果代码

代码语言:html

所属分类:加载滚动

代码描述:js+css实现立体图标按钮导航条点击效果代码

代码标签: js css 立体 图标 按钮 导航条 点击

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/font-awesome-4.7.0/css/font-awesome.min.css">
    <style>
        * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    html, body {
      width: 100%;
      height: 100%;
    }
    
    body {
      background: #202020;
      font-family: 'Source Sans Pro', sans-serif;
    }
    
    .buttons-container {
      position: absolute;
      margin: auto;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      width: 395px;
      height: 100px;
      border-radius: 45px;
      background: #151515;
      box-shadow: inset 0 0 2px 2px rgba(0, 0, 0, 0.5);
    }
    
    ul {
      list-style: none;
      width: inherit;
      height: inherit;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    ul li {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 1px;
      height: 90px;
      width: 95px;
      background: #202020;
      border-top: 1px solid #353535;
      box-shadow: 0 15px 20px 0 rgb.........完整代码请登录后点击上方下载按钮下载查看

网友评论0