Bootstrap導(dǎo)航中表單簡單實(shí)現(xiàn)代碼
更新時間:2017年03月06日 09:12:50 作者:deepquiet
這篇文章主要為大家詳細(xì)介紹了Bootstrap導(dǎo)航中表單簡單實(shí)現(xiàn)代碼,含路徑導(dǎo)航的具體實(shí)現(xiàn)代碼,具有一定的參考價值,感興趣的小伙伴們可以參考一下
導(dǎo)航中圖標(biāo),表單的編程:
<html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE-edge"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Bootstrap 101 Template</title> <link rel="external nofollow" rel="external nofollow" rel="stylesheet"> <link rel="external nofollow" rel="external nofollow" rel="stylesheet"> </head> <body> <nav class="navbar navbar-default" role="navigation"> <!-- <nav class="navbar navbar-default navbar-inverse" role="navigation"> --> <div class="container-fluid"> <!-- 導(dǎo)航圖標(biāo) --> <div class="navbar-header"> <a class="navbar-brand" href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" > <img alt="Brand" src="1.jpg"> </a> </div> <!-- 導(dǎo)航表單 --> <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> <button type="button" class="btn btn-default navbar-btn">Sign in</button> <!-- 非導(dǎo)航的鏈接 --> <p class="navbar-text navbar-right">Signed in as<a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="navbar-link"> Mark Otto</a></p> </div> </nav> <!-- 路徑導(dǎo)航 --> <script src="http://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script> <script src="http://cdn.bootcss.com/bootstrap/3.3.1/js/bootstrap.min.js"></script> <script src="http://cdn.bootcss.com/bootstrap/3.3.1/js/npm.js"></script> </body> </html>
結(jié)果:
路徑導(dǎo)航:
<html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE-edge"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Bootstrap 101 Template</title> <link rel="external nofollow" rel="external nofollow" rel="stylesheet"> <link rel="external nofollow" rel="external nofollow" rel="stylesheet"> </head> <body> <!-- 路徑導(dǎo)航 --> <ol class="breadcrumb"> <li><a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >home</a></li> <li><a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >libray</a></li> <li class="active">data</li> </ol> <script src="http://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script> <script src="http://cdn.bootcss.com/bootstrap/3.3.1/js/bootstrap.min.js"></script> <script src="http://cdn.bootcss.com/bootstrap/3.3.1/js/npm.js"></script> </body> </html>
結(jié)果:
以上就是本文的全部內(nèi)容,希望對大家的學(xué)習(xí)有所幫助,也希望大家多多支持腳本之家。
您可能感興趣的文章:
- Bootstrap導(dǎo)航欄各元素操作方法(表單、按鈕、文本)
- Bootstrap每天必學(xué)之導(dǎo)航條
- Bootstrap實(shí)現(xiàn)響應(yīng)式導(dǎo)航欄效果
- Bootstrap實(shí)現(xiàn)默認(rèn)導(dǎo)航欄效果
- Bootstrap每天必學(xué)之導(dǎo)航
- 第一次接觸神奇的Bootstrap菜單和導(dǎo)航
- Bootstrap每天必學(xué)之附加導(dǎo)航(Affix)插件
- 第一次接觸神奇的Bootstrap導(dǎo)航條
- Bootstrap多級導(dǎo)航欄(級聯(lián)導(dǎo)航)的實(shí)現(xiàn)代碼
- Bootstrap每天必學(xué)之響應(yīng)式導(dǎo)航、輪播圖
相關(guān)文章
Javascript的異步函數(shù)和Promise對象你了解嗎
這篇文章主要為大家詳細(xì)介紹了Javascript異步函數(shù)和Promise對象,文中示例代碼介紹的非常詳細(xì),具有一定的參考價值,感興趣的小伙伴們可以參考一下,希望能夠給你帶來幫助2022-03-03javascript判斷css3動畫結(jié)束 css3動畫結(jié)束的回調(diào)函數(shù)
本文主要給大家介紹的是如何使用javascript判斷CSS3動畫效果結(jié)束,主要是使用了javascript的回調(diào)函數(shù),其思路是一旦動畫或變換結(jié)束,回調(diào)函數(shù)就會觸發(fā)。不再需要大型類庫支持,非常的簡單實(shí)用,推薦給大家。2015-03-03JS中video標(biāo)簽自動播放音視頻并繪制波形圖效果
html中的<video>標(biāo)簽可以用來播放常見的音視頻格式,支持的格式包括:MP3、Ogg、WAV、AAC、MP4、WebM、AVI等,當(dāng)然支持的格式也和瀏覽器和操作系統(tǒng)有關(guān),這篇文章主要介紹了video標(biāo)簽自動播放音視頻并繪制波形圖,需要的朋友可以參考下2023-09-09