vue管状导航效果代码

代码语言:html

所属分类:菜单导航

代码描述:vue管状导航效果代码

代码标签: 效果

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


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

<head>

  <meta charset="UTF-8">

  <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Dosis'>
  
<style>
body {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
          align-items: center;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}

.scene_nav {
  position: relative;
}
.scene_nav_list {
  display: -webkit-box;
  display: flex;
  margin: 0;
  padding: 0;
  height: 160px;
}
.scene_nav_item {
  display: block;
  -webkit-transform: rotateZ(-170deg);
          transform: rotateZ(-170deg);
}
.scene_nav_item:not(:first-child) {
  margin-left: 20px;
}
.scene_nav_button {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  background: #0a7896;
  outline: none;
  cursor: pointer;
  -webkit-transition: 500ms;
  transition: 500ms;
  border-radius: 99px;
}
.scene_nav_button.o-active {
  height: 160px;
  background: #64fafa;
}
.scene_nav_button.o-side {
  height: 120px;
  background: #3cb4c8;
.........完整代码请登录后点击上方下载按钮下载查看

网友评论0