CSS樣式類別列表

來源:互聯網
上載者:User

      以下是常用的css樣式類別列表:字型樣式(font),文本樣式(text),背景樣式(background),盒樣式(border),列表樣式(ul,li).
字型樣式font:
      字型類型:font-family
      字型大小:font-size
      字型風格:font-style(斜體,正常體)
      字型粗細:font-weight(粗,細)
      字型顏色:color
      字型行高:line-height
      字間距:letter-spacing

文本樣式text
      行間距(字型行高):line-height
      文本修飾:text-decoration(底線,上劃線,刪除線)
      水平對齊:text-align
      垂直對齊:vertical-align

背景樣式background:
      背景顏色:background-color
      背景圖片:background-image
      背景重複:background-repeat
      背景定位:background-position
      
盒樣式box:
      外邊距:margin
      內邊距:padding
      邊框寬度:border-width
      邊框顏色:border-color
      邊框風格:border-style      
      上邊框:border-top
      右邊框:border-right
      下邊框:border-bottom
      左邊框:border-left
      寬度:width
      高度:height
      漂浮:float
      清除:clear

列表樣式ul,li:
      控制顯示:display
      符號列表:list-style-type
      圖形列表:list-style-image
      位置列表:list-style-position
      滑鼠形狀:cursor
    
      

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.