Materialize SideNav
home
Run
screen_rotation
fullscreen
cloud_download
<!DOCTYPE html> <html> <head> <link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.8/css/materialize.min.css"> <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.8/js/materialize.min.js"></script> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> </head> <body> <ul id="slide-out" class="side-nav"> <li><a href="#!">Item 1</a></li> <li><a href="#!">Item 2</a></li> <li><a href="#!">Item 3</a></li> <li class="no-padding"> <ul class="collapsible collapsible-accordion"> <li> <a class="collapsible-header">Dropdown<i class="material-icons">arrow_drop_down</i></a> <div class="collapsible-body"> <ul> <li><a href="#!">Dropdown Item 1</a></li> <li><a href="#!">Dropdown Item 2</a></li> <li><a href="#!">Dropdown Item 3</a></li> </ul> </div> </li> </ul> </li> </ul> <a href="#" data-activates="slide-out" class="button-collapse"><i class="material-icons">menu</i></a> <script> $(".button-collapse").sideNav(); </script> </body> </html>
<!DOCTYPE html> <html> <head> <link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.8/css/materialize.min.css"> <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.8/js/materialize.min.js"></script> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> </head> <body> <ul id="slide-out" class="side-nav"> <li><a href="#!">Item 1</a></li> <li><a href="#!">Item 2</a></li> <li><a href="#!">Item 3</a></li> <li class="no-padding"> <ul class="collapsible collapsible-accordion"> <li> <a class="collapsible-header">Dropdown<i class="material-icons">arrow_drop_down</i></a> <div class="collapsible-body"> <ul> <li><a href="#!">Dropdown Item 1</a></li> <li><a href="#!">Dropdown Item 2</a></li> <li><a href="#!">Dropdown Item 3</a></li> </ul> </div> </li> </ul> </li> </ul> <a href="#" data-activates="slide-out" class="button-collapse"><i class="material-icons">menu</i></a> <script> $(".button-collapse").sideNav(); </script> </body> </html>
Copyrights@tutorialsplane.com