search

Home  >  Q&A  >  body text

javascript - How to scale the left navigation

Click the button and it will become:

Is this implemented using a plug-in? What should be the hover effect if using native?

三叔三叔2709 days ago808

reply all(1)I'll reply

  • typecho

    typecho2017-06-30 10:01:54

    This is the framework of adminlte

    The principle is to use the class of the parent node to control the display mode of child nodes,

    The pop-up menu is the child node of your hover

    https://adminlte.io/themes/Ad...

    In fact, just look at the code of adminlte and you will know

        <li class="active treeview menu-open">
          <a href="#">
            <i class="fa fa-dashboard"></i> <span>Dashboard</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="index.html"><i class="fa fa-circle-o"></i> Dashboard v1</a></li>
            <li class="active"><a href="index2.html"><i class="fa fa-circle-o"></i> Dashboard v2</a></li>
          </ul>
        </li>
    

    reply
    0
  • Cancelreply