HTML CSS examples for CSS Widget:Menu Dropdown
Navigation bar with single dropdown menu
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #search-menu {<!-- ww w. ja v a 2s .c o m--> position:absolute; width:100%; background-color:Chartreuse; } </style> </head> <body> <title>Lorem ipsum</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.6.0/css/bulma.min.css"> <nav class="navbar is-warning" role="navigation" aria-label="main navigation"> <div class="navbar-brand"> <a class="navbar-item" href=""> <img src="https://www.java2s.com/style/demo/InternetExplorer.png" alt="Bulma: a modern CSS framework based on Flexbox" width="112" height="28"> </a> <button class="button navbar-burger"> <span></span> <span></span> <span></span> </button> </div> <div class="navbar-end"> <div class="navbar-item field"> <div class="control"> <input class="input" type="text" placeholder="Text input"> <ul id="search-menu"> <li> <a class="panel-block" href="#">Lorem</a> </li> <li> <a class="panel-block" href="#">Lorem</a> </li> <li> <a class="panel-block" href="#">Lorem</a> </li> <li> <a class="panel-block" href="#">Lor</a> </li> <li> <a class="panel-block" href="#">Lore</a> </li> </ul> </div> </div> </div> </nav> </body> </html>