HTML5¼¼Êõ

CSS3Ö®ºÐ×ÓÄ£ÐÍ - TheWinds

×ÖºÅ+ ×÷ÕߣºH5Ö®¼Ò À´Ô´£ºH5Ö®¼Ò 2016-12-26 18:03 ÎÒÒªÆÀÂÛ( )

display:box ʹ×ÓÔªËسÉÐÐÅÅÁÐ Èç¹û¸¸¼¶¿í¶ÈСÓÚ×Ó¼¶ºÐ×Ó ²»»á°Ñ³¬³ö²¿·Ö¼·³öÏÂÃæ ¶øÊÇÖ±½Ó³¬³ö -box-orient:vertical ʹºÐ×Ó´¹Ö±ÏÔʾ ĬÈÏˮƽÏÔʾ -box-direction:ReverseʹºÐ×ÓÅÅÁÐ˳Ðòµßµ¹; -box-ordinal-group: ;ÉèÖÃÔªËØÅÅÁеľßÌåλÖà -box-flex:; ×Ó

display:box

ʹ×ÓÔªËسÉÐÐÅÅÁÐ
Èç¹û¸¸¼¶¿í¶ÈСÓÚ×Ó¼¶ºÐ×Ó ²»»á°Ñ³¬³ö²¿·Ö¼·³öÏÂÃæ ¶øÊÇÖ±½Ó³¬³ö

-box-orient:vertical ʹºÐ×Ó´¹Ö±ÏÔʾ  Ä¬ÈÏˮƽÏÔʾ

-box-direction:ReverseʹºÐ×ÓÅÅÁÐ˳Ðòµßµ¹;

-box-ordinal-group: ;ÉèÖÃÔªËØÅÅÁеľßÌåλÖÃ

-box-flex:;
×ÓÔªËصijߴç=ºÐ×ӵijߴç*×ÓÔªËصÄbox-flexÊôÐÔÖµ / ËùÓÐ×ÓÔªËصÄbox-flexÊôÐÔÖµµÄºÍ

ˮƽ·½ÏòµÄ¸»Ô£¿Õ¼ä´¦Àí
box-pack:Justify;¸»Ô£¿Õ¼äÔÚ×ÓÔªËØÖ®¼äƽ¾ù·Ö²¼(ÀàËÆÓÚºÐ×ÓÓëºÐ×ÓÖ®¼äÓÐmargin)
¡¡¡¡¡¡¡¡¡¡¡¡startËùÓÐ×ÓÔªËØÔÚ×ó²àÏÔʾ ¸»Ô£¿Õ¼äÔÚÓÒ²àĬÈÏ
¡¡¡¡¡¡¡¡¡¡¡¡end ËùÓÐ×ÓÔªËØÔÚºÐ×ÓÓÒ²àÏÔʾ ¸»Ô£¿Õ¼äÔÚ×ó²à(==ÓÒ¸¡¶¯ )
¡¡¡¡¡¡¡¡¡¡¡¡center ËùÓÐ×ÓÔªËؾÓÖÐ

´¹Ö±·½ÏòµÄ¸»Ô£¿Õ¼ä¹ÜÀí
-box-align:start; ÔÚ¶¥²¿ÏÔʾ
center ÔÚÖмäÏÔʾ
end: Ôڵײ¿ÏÔʾ

-box-reflect:above 10px -webkit-linear-gradient(right,rgba(0,0,0,1) 0,rgba(0,0,0,0) 50%); 

Ïò¶¥²¿µ¹Ó°   µÚ¶þ¸ö²ÎÊýΪÁ½¸öÔªËؼäµÄ¾àÀë µÚÈý¸ö²ÎÊýΪµ¹Ó°µÄ½¥±ä

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡below Ïòµ×²¿µ¹Ó°

                      right ÏòÓÒµ¹Ó°                       

                      left Ïò×óµ¹Ó°

resizeÒªÓëoverflow:auto;Ò»ÆðʹÓÃ
resize:both; ˮƽºÍ´¹Ö±¶¼¿ÉÍÏק
horizontal ˮƽ·½Ïò
vertical ´¹Ö±·½Ïò
none ¶¼²»¿ÉÍÏק

box-sizing ºÐÄ£ÐͽâÎöģʽ
content-box ±ê×¼ºÐÄ£ÐÍ width/height = border+padding+content
border-box ¹ÖÒìºÐÄ£ÐÍ width/height = content ¼´½«border padding content¶¼°üº¬ÔÚÆäwidth»òheightÄÚ

·ÖÀ¸²¼¾Ö
column-width:; À¸Ä¿¿í¶È
column-count:; À¸Ä¿ÁÐÊý
column-gap:; À¸Ä¿¾àÀë
column-rule:; À¸Ä¿¼ä¸ôÏß
дÁËÁÐÊýÔò»á×Ô¶¯¼ÆËã¿í¶È
дÁË¿í¶ÈÔò»á×Ô¶¯¼ÆËãÀ¸Êý

 

¡¡

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

Ïà¹ØÎÄÕÂ
  • CSS3Ö®ÐÂUI·½°¸ - TheWinds

    CSS3Ö®ÐÂUI·½°¸ - TheWinds

    2016-12-26 18:04

  • css3¼ÓÔØing¶¯»­ - Ã÷lucky

    css3¼ÓÔØing¶¯»­ - Ã÷lucky

    2016-12-19 13:00

  • µÚÒ»¸öËæ±Ê£¬µ÷ÊÔÖУ¬ÓõÄCSS3 - TheWinds

    µÚÒ»¸öËæ±Ê£¬µ÷ÊÔÖУ¬ÓõÄCSS3 - TheWinds

    2016-12-17 12:01

  • Three.jsÍⲿģÐͼÓÔØ - CQ-engineer

    Three.jsÍⲿģÐͼÓÔØ - CQ-engineer

    2016-12-13 10:00

ÍøÓѵãÆÀ
Í