HTML5¼¼Êõ

[Bootstrap]×é¼þ£¨ËÄ£© - Ê¢ÏÄ¡¢¹âÄê

×ÖºÅ+ ×÷ÕߣºH5Ö®¼Ò À´Ô´£º²©¿ÍÔ° 2016-05-17 13:00 ÎÒÒªÆÀÂÛ( )

µ¼º½Ìõ Òƶ¯É豸ÉÏÕÛµþ(¿É¿ª¹Ø)£¬³¬¹ý¹æ¶¨ÊÓ¿Ú±êǩʱºòˮƽչ¿ªÄ£Ê½ ÒÀÀµ²å¼þ ×¢Òâµã£ºµ¼º½ÌõÄÚÔªËعý¶à»òÆäËûÔ­Òòµ¼ÖÂÔªËØÄÚÔªËØ¿í¶È¹ý³¤£¬»áÒýÆðÕÛÐÐ--½â¾ö£ºa.¼õÉÙµ¼º½ÄÚÔªËØ»òÕß¼õÉÙ¿í¶È b.ÀûÓÃýÌå²éѯ»òÕßÏìÓ¦¹¤¾ßÀàÒþ²ØÔªËØ c.ÐÞ¸ÄýÌå²éѯµÄÖµ»òÕßÖØ

µ¼º½Ìõ

Òƶ¯É豸ÉÏÕÛµþ(¿É¿ª¹Ø)£¬³¬¹ý¹æ¶¨ÊÓ¿Ú±êǩʱºòˮƽչ¿ªÄ£Ê½ ÒÀÀµ²å¼þ

×¢Òâµã£ºµ¼º½ÌõÄÚÔªËعý¶à»òÆäËûÔ­Òòµ¼ÖÂÔªËØÄÚÔªËØ¿í¶È¹ý³¤£¬»áÒýÆðÕÛÐÐ-->½â¾ö£º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

 

¡¡

1.±¾Õ¾×ñÑ­ÐÐÒµ¹æ·¶£¬ÈκÎתÔصĸå¼þ¶¼»áÃ÷È·±ê×¢×÷ÕߺÍÀ´Ô´£»2.±¾Õ¾µÄÔ­´´ÎÄÕ£¬ÇëתÔØʱÎñ±Ø×¢Ã÷ÎÄÕÂ×÷ÕߺÍÀ´Ô´£¬²»×ðÖØÔ­´´µÄÐÐΪÎÒÃǽ«×·¾¿ÔðÈΣ»3.×÷ÕßͶ¸å¿ÉÄܻᾭÎÒÃDZ༭Ð޸Ļò²¹³ä¡£

Ïà¹ØÎÄÕÂ
  • OmiÊ÷×é¼þomi-tree±àдָÄÏ - ¡¾µ±ÄÍÌØ¡¿

    OmiÊ÷×é¼þomi-tree±àдָÄÏ - ¡¾µ±ÄÍÌØ¡¿

    2017-05-02 15:04

  • ¶ÔÓÚBootstrapµÄ½éÉÜÒÔ¼°ÈçºÎʹÓà - novai-L

    ¶ÔÓÚBootstrapµÄ½éÉÜÒÔ¼°ÈçºÎʹÓà - novai-L

    2017-04-29 09:00

  • ÔÚDelphiÏÂʹÓÃѸÀ×APlayer×é¼þ½øÐÐÃâ×¢²á¿ª·¢ - DelphiÁ¦Á¿

    ÔÚDelphiÏÂʹÓÃѸÀ×APlayer×é¼þ½øÐÐÃâ×¢²á¿ª·¢ - DelphiÁ¦Á¿

    2017-04-28 15:00

  • JS×é¼þϵÁСª¡ª×Ô¼º¶¯ÊÖ·â×°bootstrap-treegrid×é¼þ - ÀÁµÃ°²·Ö

    JS×é¼þϵÁСª¡ª×Ô¼º¶¯ÊÖ·â×°bootstrap-treegrid×é¼þ - ÀÁµÃ°²·Ö

    2017-04-28 14:02

ÍøÓѵãÆÀ
Õ