「CSS」:修訂間差異

出自TSK WIKI
跳至導覽 跳至搜尋
Root​(留言 | 貢獻)
新頁面: ==常用的樣式屬性== *顏色 color *文本屬性 **font-size 字体大小 **font-family 字体 **text-align 文本對齊 *邊框屬性(用於表單元素) **border-style 邊框樣...
 
Root​(留言 | 貢獻)
第9行: 第9行:
**border-width 邊框寬度
**border-width 邊框寬度
**border-color 邊框顏色
**border-color 邊框顏色
***[http://www.ifreesite.com/color/web-color-code.htm 常用色碼]
*定位屬性(position)
*定位屬性(position)
**top 頂部邊距(上邊距)
**top 頂部邊距(上邊距)

於 2015年12月19日 (六) 03:40 的修訂

常用的樣式屬性

  • 顏色 color
  • 文本屬性
    • font-size 字体大小
    • font-family 字体
    • text-align 文本對齊
  • 邊框屬性(用於表單元素)
    • border-style 邊框樣式
    • border-width 邊框寬度
    • border-color 邊框顏色
  • 定位屬性(position)
    • top 頂部邊距(上邊距)
    • left 左邊距
    • width 寬度
    • height 高度
    • z-index z軸索引號,用於層