µ¼º½Ìõ
Òƶ¯É豸ÉÏÕÛµþ(¿É¿ª¹Ø)£¬³¬¹ý¹æ¶¨ÊÓ¿Ú±êǩʱºòˮƽչ¿ªÄ£Ê½ ÒÀÀµ²å¼þ
×¢Òâµã£ºµ¼º½ÌõÄÚÔªËعý¶à»òÆäËûÔÒòµ¼ÖÂÔªËØÄÚÔªËØ¿í¶È¹ý³¤£¬»áÒýÆðÕÛÐÐ-->½â¾ö£ºa.¼õÉÙµ¼º½ÄÚÔªËØ»òÕß¼õÉÙ¿í¶È b.ÀûÓÃýÌå²éѯ»òÕßÏìÓ¦¹¤¾ßÀàÒþ²ØÔªËØ c.ÐÞ¸ÄýÌå²éѯµÄÖµ»òÕßÖØÖø²¸ÇýÌå²éѯµÄÖµ
×¢Òâµã£º<nav>ÔªËØ || <div role="navigation"></div>
/* * 1 nav(.navbar.navbar-*£º»ùÀ࣫״̬Àà)(divÔªËØÐèÒª¶îÍâÌí¼Órole="navigation") * 2 div(.container-fluid:ÏìӦʽÈÝÆ÷) * 3 div(.navbar-header£ºµ¼º½ÌõÍ·²¿) + div(.collapse.navbar-collapse£ºÕÛµþÀà+µ¼º½ÕÛµþÀà) * 3.1 µ¼º½ÌõÍ·²¿ ÄÚ²¿£ºbtn(.navbar-toggle.collapsed£ºµ¼º½¿ª¹ØÀà+±»ÕÛµþÀà)+a(.navbar-brand£ºµ¼º½ÌõÉ̱êÀà) * 3.2 ÕÛµþÀà+µ¼º½ÕÛµþÀà ÄÚ²¿£ºul(.nav.navbar-nav£ºµ¼º½»ùÀ࣫µ¼º½Ìõµ¼º½Àà)+(±íµ¥) */ Toggle navigationBrandLink (current)LinkDropdown ActionAnother actionSomething else hereSeparated linkOne more separated linkSubmitLinkDropdown ActionAnother actionSomething else hereSeparated link
µ¼º½ÌõÖеÄÆ·ÅÆͼ±ê
.navbar-brandÀàÖзÅÖÃimgÔªËØ£¬¼´¿ÉÉèÖÃ×Ô¼ºµÄÉ̱꣬¸ù¾ÝÐèÒªÐÞ¸Äcss»ò¸²¸Çcss
µ¼º½ÌõÖÐµÄ±íµ¥
submit
µ¼º½ÌõÖеİ´Å¥
button
µ¼º½ÌõÖеÄÎı¾
navbar-text
·Çµ¼º½µÄÁ´½Ó
Signed in as Mark Otto
×é¼þÅÅÁÐ
.navbar-left/.navbar-right -->µ¼º½Á´½Ó/±íµ¥/°´Å¥/Îı¾¶ÔÆë
×îºóÒ»¸ö.navbar-rightÉèÖÃÁ˸º±ß¾à£¬×îºÃ²»ÒªÓöà¸ö.navbar-right
µ¼º½Ìõ¹Ì¶¨ÔÚ¶¥²¿
.navbar-fixed-top ¹Ì¶¨µÄµ¼º½ÌõÒýÆðÕÚµ²bodyÄÚ²¿ÆäËûµÄÐÅÏ¢£¬¿ÉÄÜÐèÒª¶ÔÆäÌí¼ÓÄÚ²¹µÈ¶îÍâÑùʽ
...
µ¼º½Ìõ¾²Ö¹ÔÚ¶¥²¿
.navbar-static-top ²»ÐèÒª¸øbodyÉèÖÃÄÚ²¹
...
·¾¶µ¼º½
Ãæ°üм.breadcrumb {padding/margin-bottom/list-style/background-color/border-radius}
HomeLibraryData
·ÖÒ³
nav>ul.pagination>li>a
12345
·ÖÒ³½ûÖ¹ºÍ¼¤»î״̬
½ûÖ¹.disabled/¼¤»î.active
1 (current) ...
·Ò³
nav>ul.pager>li*2>a
PreviousNext
·Ò³Á½¶Ë¶ÔÆë
nav>ul.pager>(li.previous>a)+(li.next>a)
OlderNewer
¡¡