vue三角形导航条效果代码

代码语言:html

所属分类:菜单导航

代码描述:vue三角形导航条效果代码

代码标签: 效果

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

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

<head>

    <meta charset="UTF-8">


    <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 atbottom, #1b2735 0%, #090a0f 100%);
        }

        .scene_nav {
            position: relative;
        }
        .scene_nav_list {
            display: -webkit-box;
            display: flex;
            margin: 0;
            padding: 0;
            -webkit-transform: scaleY(0.6);
            transform: scaleY(0.6);
        }
        .scene_nav_item {
            display: block;
        }
        .scene_nav_item:nth-child(even) {
            -webkit-transform: scaleY(-1);
            transform: scaleY(-1);
        }
        .scene_nav_item:not(:first-child) {
            margin-left: -8px;
        }
        .scene_nav_button {
            display: block;
            width: 50px;
            height: 50px;
            margin: 0;
            padding: 0;
            border: none;
            background: #0a7896;
            outline: none;
            cursor: pointer;
            -webkit-transition: 500ms;
            transition: 500ms;
            -webkit-clip-path: polygon(25px 0, calc(100% - 25px) 0, 100% 100%, 0 100%);
     .........完整代码请登录后点击上方下载按钮下载查看

网友评论0