The top navigation bar of the "Amazeui" mobile page and the side navigation bars Offcanvas

Source: Internet
Author: User

Top navigation bar If you look closely at the current page, it is too common. This component can also be implemented in the front-end framework of the AMAZEUI with the help of a mobile-phone page. At the same time, you can add a trigger side navigation bar Offcanvas to the right of the navigation bar. Do not use bootstrap kind, once click on the large-scale pull-down navigation, anyway, I personally feel very egg pain. A navigator occupies a large number of pages alive. This side navigation bar Offcanvas was once a good design for PHP workpress.

The effect of using Amazeui is as follows:


The first is the code for the top navigation bar:

    <!--here's the top navigation bar with Bootstrap, which is also available only in shades of two colors. The only difference is that bootstrap is black and grey, and Amazeui is gray and blue. Remove Am-topbar-inverse to show gray---        <div class= "Am-topbar am-topbar-inverse" >            


Then the code for the sidebar:

        <!--sidebar Content--        <div id= "Offcanvasid" class= "Am-offcanvas" >            <div class= "Am-offcanvas-bar" >                <div class= "am-offcanvas-content" >                    <ul class= "Am-menu-nav am-avg-sm-1" >                        <li class= "" > Sidebar menu </li>                        <li>----------</li>                        <li><a href= "#" > Function 1</a></li >                        <li><a href= "#" > Function 2</a></li>                        <li><a href= "#" > Function 3</a></ li>                    </ul>                </div>            </div>        </div>
Therefore, the code for the entire page is as follows:

<!--develop--><!doctype html>It is worth noting that this top navigation bar header does not appear, scroll bar how to scroll, have been hovering over the head of the situation. Equivalent to a normal page content.

The top navigation bar of the "Amazeui" mobile page and the side navigation bars Offcanvas

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.