Bootstrap导航中的表单

nav class = navbar navbar-default role = navigationdiv class = navbar-header

编程学习网为您整理以下代码实例,主要实现:Bootstrap导航中的表单,希望可以帮到各位朋友。

<nav class = "navbar navbar-default" role = "navigation">

   <div class = "navbar-header">
      <a class = "navbar-brand" href = "#">yiibai</a>
   </div>

   <div>
      <form class = "navbar-form navbar-left" role = "search">

         <div class = "form-group">
            <input type = "text" class = "form-control" placeholder = "Search">
         </div>
         <button type = "submit" class = "btn btn-default">submit</button>

      </form>    
   </div>

</nav>

本文标题为:Bootstrap导航中的表单

上一篇: Bootstrap嵌套

基础教程推荐