jquery实现炫酷下拉菜单效果代码

代码语言:html

所属分类:菜单导航

代码描述:jquery实现炫酷下拉菜单效果代码

代码标签: 下拉菜单 效果

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

<html>
<head>
    <style>
        /* Please ? this if you like it! */


@import url('https://fonts.googleapis.com/css?family=Montserrat:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i');
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900');

        body {
            font-family: 'Montserrat', sans-serif;
            font-weight: 300;
            font-size: 15px;
            line-height: 1.7;
            color: #c4c3ca;
            background-color: #1f2029;
            background-position: center;
            background-repeat: repeat;
            background-size: 4%;
            overflow-x: hidden;
            -webkit-transition: all 300ms linear;
            transition: all 300ms linear;
        }
        a {
            cursor: pointer;
        }
        a:hover {
            text-decoration: none;
        }

        /* #Cursor
================================================== */

        .cursor,
        .cursor2,
        .cursor3 {
            position: fixed;
            border-radius: 50%;
            transform: translateX(-50%) translateY(-50%);
            pointer-events: none;
            left: -100px;
            top: 50%;
            mix-blend-mode: difference;
            -webkit-transition: all 300ms linear;
            transition: all 300ms linear;
        }
        .cursor {
            background-color: #fff;
            height: 0;
            width: 0;
            z-index: 99999;
        }
        .cursor2,.cursor3 {
            height: 36px;
            width: 36px;
            z-index: 99998;
            -webkit-transition: all 0.3s ease-out;
            transition: all 0.3s ease-out
        }
        .cursor2.hover,
        .cursor3.hover {
            -webkit-transform: scale(2) translateX(-25%) translateY(-25%);
            transform: scale(2) translateX(-25%) translateY(-25%);
            border: none
        }
        .cursor2 {
            border: 2px solid #fff;
            box-shadow: 0 0 22px rgba(255, 255, 255, 0.6);
        }
        .cursor2.hover {
            background: rgba(255,255,255,1);
            box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
        }

@media screen and (max-width: 1200px) {
            .cursor,.cursor2,.cursor3 {
                display: none
            }
        }

        /* #Primary style
================================================== */

        .section {
            position: relative;
            width: 100%;
            display: block;
        }
        .over-hide {
            overflow: hidden;
        }
        .full-height {
            height: 100vh;
        }

        /* #Navigation
================================================== */

        .cd-header {
            position: fixed;
            width: 100%;
            top: 0;
            left: 0;
            z-index: 100;
        }
        .header-wrapper {
            position: relative;
            width: calc(100% - 100px);
            margin-left: 50px;
        }
        .logo-wrap {
            position: absolute;
            display: block;
            right: 0;
            top: 40px;
            cursor: pointer;
        }
        .logo-wrap a {
            cursor: pointer;
            font-family: 'Montserrat', sans-serif;
            font-weight: 900;
            font-size: 20px;
            line-height: 20px;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #fff;
            transition: all 0.3s ease-out;
        }
        .logo-wrap a span {
            color: #8167a9;
        }
        .logo-wrap a:hover {
            opacity: 0.9;
        }
        .nav-bu.........完整代码请登录后点击上方下载按钮下载查看

网友评论0