Breaking News

3D Flipping Menu For Blogger

After sharing several navigation menu including drop down menu for blogger, today i will be sharing one of the best horizontal navigation menu ever. We have put in all possible best to design this cool navigation menu to fits in any blogspot template and it doesn't require any jQuery or JavaScript, just pure CSS and HTML. We shared a tutorial on transition effect but this one shows 3D flipping effect on mouse hover.





Navigation Menu Series
5. 3D Flipping Menu For Blogger


How To Add It To Blogger

Adding CSS Code
  • Go to your dashboard
  • Click on Template > Edit HTML > Proceed
  • Use ctrl F to ]]>
 and paste the following code above it
        /* 3d Flipping Menu By RealcomBiz.com */
        .block-menu {
            display: block;
            background: #000;
        }

        .block-menu li {
            display: inline-block;
        }

        .block-menu li a {
            color: #fff;
            display: block;
            text-decoration: none;
            font-family: 'Passion One',Arial,sans-serif;
            -webkit-font-smoothing: antialiased;
            -moz-font-smoothing: antialiased;
            font-smoothing: antialiased;
            text-transform: uppercase;
            overflow: visible;
            line-height: 20px;
            font-size: 24px;
            padding: 15px 10px;
        }

        /* animation domination */
        .three-d {
            -webkit-perspective: 200px;
            -moz-perspective: 200px;
            perspective: 200px;
            -webkit-transition: all .07s linear;
            -moz-transition: all .07s linear;
            transition: all .07s linear;
            position: relative;
        }

            .three-d:not(.active):hover {
                cursor: pointer;
            }

            .three-d:not(.active):hover .three-d-box,
            .three-d:not(.active):focus .three-d-box {
                -moz-transform: translateZ(-25px) rotateX(90deg);
                -webkit-transform: translateZ(-25px) rotateX(90deg);
                -o-transform: translateZ(-25px) rotateX(90deg);
                transform: translateZ(-25px) rotateX(90deg);
            }

        .three-d-box {
            -webkit-transition: all .5s ease-out;
            -moz-transition: all .5s ease-out;
            -ms-transition: all .5s ease-out;
            -o-transition: all .5s ease-out;
            transition: all .5s ease-out;
            -webkit-transform: translatez(-25px);
            -moz-transform: translatez(-25px);
            -o-transform: translatez(-25px);
            transform: translatez(-25px);
            -webkit-transform-style: preserve-3d;
            -moz-transform-style: preserve-3d;
            -ms-transform-style: preserve-3d;
            -o-transform-style: preserve-3d;
            transform-style: preserve-3d;
            pointer-events: none;
            position: absolute;
            top: 0;
            left: 0;
            display: block;
            width: 100%;
            height: 100%;
        }

        .front {
            -webkit-transform: rotatex(0deg) translatez(25px);
            -moz-transform: rotatex(0deg) translatez(25px);
            -o-transform: rotatex(0deg) translatez(25px);
            transform: rotatex(0deg) translatez(25px);
        }

        .back {
            -webkit-transform: rotatex(-90deg) translatez(25px);
            -moz-transform: rotatex(-90deg) translatez(25px);
            -o-transform: rotatex(-90deg) translatez(25px);
            transform: rotatex(-90deg) translatez(25px);
            color: #FFE7C4;
        }

        .front, .back {
            display: block;
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            background: black;
            padding: 15px 10px;
            color: white;
            pointer-events: none;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
        }

  • Save your template

Adding HTML code  



  • Go to Layout > Add a Gadget (under header section)
  • Choose HTML/JavaScript and paste the following code in the content box.

" class="three-d">
Home
HomeHome

  • #
  • " class="three-d">
    AboutAboutAbout

  • #
  • " class="three-d">
    Services
    ServicesServices

  • #
  • " class="three-d">
    Blogging
    BloggingBlogging

  • #
  • " class="three-d">
    Create this
    Create thisCreate this


    • Edit the highlighted part above
    • Save your widget and you are done!

    Hope you find this menu useful for your blog? Any queries or suggestion is welcome

    No comments

    Feel free to share you opinion. Your feedback is always appreciated.

    Take few seconds to share this post with friends/followers and take good care of yourself and your love one's.