HTML5¼¼Êõ

¿ªÊ¼±àд¼Ä¼¸µÄ CSS »ù´¡¿â - Daryl(2)

×ÖºÅ+ ×÷ÕߣºH5Ö®¼Ò À´Ô´£ºH5Ö®¼Ò 2017-07-25 12:01 ÎÒÒªÆÀÂÛ( )

.lh-100 { line-height : 100% ;} .lh-130 { line-height : 130% ;} .lh-150 { line-height : 150% ;} .lh-170 { line-height : 170% ;} .lh-200 { line-height : 200% ;} ÔªËØÀàÐÍ .inline { display : inline ;}

.lh-100 { line-height: 100%; } .lh-130 { line-height: 130%; } .lh-150 { line-height: 150%; } .lh-170 { line-height: 170%; } .lh-200 { line-height: 200%; }

 

ÔªËØÀàÐÍ

.inline { display: inline; } .block { display: block; } .inline-block { display: inline-block; }

 

box-sizing

.border-box { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

 

Çå³ý¸¡¶¯

.clear { clear: both; }

 

³¬³öÒþ²Ø

.overflow { overflow: hidden; }

 

×Ö·û¾Ó×ó/ÖÐ/ÓÒ

.text-left { text-align: left; } .text-center { text-align: center; } .text-right { text-align: right; }

 

×ÖÌ峬³öÒþ²Ø£¬ÒÔÊ¡ÂԺŴúÌæ

.text-overflow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

 

Ê×ÐÐËõ½ø2×Ö·û

.text-indent { text-indent: 2em; }

 

Ç¿ÖÆÎÄ×Ö»»ÐÐ

.text-wrap { word-wrap: break-word; word-break: normal; }

 

³£ÓõÄ3ÖÖ¶¨Î»·½Ê½

.absolute { position: absolute; } .relative { position: relative; } .fixed { position: fixed; }

 

¸¡¶¯¹â±ê¸Ä±ä

.cusor { cursor: pointer; }

  

ÉÏÃæÀý¾ÙÁËÒ»²¿·Ö¹«¹²Ñùʽ£¬Ï£ÍûÄܸø´ó¼ÒһЩÆô·¢¡£ÃüÃûºÍ³éÏó·½Ê½¿ÉÒÔ°´ÕÕ×Ô¼ºµÄϲºÃÀ´£¬½«Æ½³£¹¤×÷ÖÐÓõ½µÄÑùʽÂýÂý»ýÀÛ£¬ºÜ¿ì¾Í»áÓµÓÐ×Ô¼º×¨ÊôµÄÇ¿´ó css »ù´¡¿â¡£×£´ó¼Ò¶¼ÄÜ×öºÃ×Ô¼ºÒµÎñµÄ¹¤³Ì»¯£¬Á÷Ë®»¯£¬ÏÂһƪ²©ÎÄÊǸú´ó¼Ò·ÖÏí¼Ä¼¸µÄ¹«¹² JS¡£

¸ÐлÄãµÄä¯ÀÀ£¬Ï£ÍûÄÜÓÐËù°ïÖú

 

¡¡

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

Ïà¹ØÎÄÕÂ
  • HTML »ù´¡Ñ§Ï°±Ê¼Ç - gdwkong

    HTML »ù´¡Ñ§Ï°±Ê¼Ç - gdwkong

    2017-07-23 09:01

  • canvasÒ»ÖÜÒ»Á· -- canvas»ù´¡Ñ§Ï° - ÕŲ»¶ª

    canvasÒ»ÖÜÒ»Á· -- canvas»ù´¡Ñ§Ï° - ÕŲ»¶ª

    2017-07-15 12:00

  • ¡¾¸É»õ¡¿Òƶ¯¶Ë»ù´¡ÖªÊ¶¼¼ÇÉ×ܽá - دKissؼС²¨

    ¡¾¸É»õ¡¿Òƶ¯¶Ë»ù´¡ÖªÊ¶¼¼ÇÉ×ܽá - دKissؼС²¨

    2017-07-12 18:00

  • HTML5 »ù´¡ÄÚÈÝ£¨ÔªËØ/ÊôÐÔ/¸ñʽ»¯£© 001 - »ÓÎè׿üÅÌÕ÷·þÊÀ½ç

    HTML5 »ù´¡ÄÚÈÝ£¨ÔªËØ/ÊôÐÔ/¸ñʽ»¯£© 001 - »ÓÎè׿üÅÌÕ÷·þÊÀ½ç

    2017-07-03 17:03

ÍøÓѵãÆÀ
¡