css屬性列表 和 屬性值含義《一》

2021-09-30 15:00:36 字數 2076 閱讀 3851

css屬性

列表屬性名稱

字型屬性(font) font-family font-style font-variant font-weight font-size 顏色和背景屬性

color background-color background-image background-repeat background-attachment background-position 文字屬性

word-spacing letter-spacing text-decoration vertical-align text-transform text-align text-indent line-height 邊距屬性

margin-top margin-right margin-bottom margin-left 填充距屬性

padding-top padding-right padding-bottom padding-left 邊框屬性

border-top-width border-right-width border-bottom-width border-left-width border-width border-color border-style border-top border-right border-bottom border-left width height float clear 分級屬性

display white-space list-style-type list-style-image list-style-position list-style 滑鼠(cursor)屬性

屬性含義 使用什麼字型 字型是否斜體 是否用小體大寫 字型的粗細 字型的大小 定義前景色 定義背景色 定義背景圖案 重複方式 設定滾動 初始位置 單詞之間的間距 字母之間的間距 文字的裝飾樣式 垂直方向的位置 文字轉換 對齊方式 首行的縮排方式 文字的行高 頂端邊距 右側邊距 底端邊距 左側邊距 頂端填充距 右側填充距 底端填充距 左側填充距 頂端邊框寬度 右側邊框寬度 底端邊框寬度 左側邊框寬度 一次定義寬度 設定邊框顏色 設定邊框樣式 一次定義頂端 一次定義右側 一次定義底端 一次定義左側 定義寬度屬性 定義高度屬性 文字環繞 哪一邊環繞 定義是否顯示 怎樣處理空白 加專案編號 加圖案 第二行起始位置 一次定義列表 自動 定位「十」字 預設指標 手形 移動 箭頭朝右方 箭頭朝右上方 箭頭朝左上方 箭頭朝上方 箭頭朝右下方 箭頭朝左下方 箭頭朝下方 箭頭朝左方 文字「i」形 等待 幫助

屬性值 所有的字型 normal、italic、oblique normal、small-caps normal、bold、bolder、lithter等 absolute-size、relative-size、length、percentage等 顏色 顏色 路徑 repeat-x、repeat-y、no-repeat scroll、fixed percentage、length、top、left、 right、bottom等 normal 同上

none|underline|overline|line- through|blink baseline|sub|super|top|text-top|middle|bottom|text-bottom| capitalize|uppercase| lowercase|none left|right|center|justify |normal||| length|percentage|auto 同上 同上 同上 length|percentage 同上 同上 同上 thin|medium|thick|length 同上 同上 同上 同上 color none|dotted|dash|solid等 border-top-width|color等 同上 同上 同上 length|percentage|auto length|auto left|right|none left|right|none|both

block、inline、list-item、none normal、pre、nowrap disc、circle、square等 |none inside、outside ||auto crosshair default hand move e-resize ne-resize nw-resize n-resize se-resize sw-resize s-resize w-resize text wait help

CSS屬性列表

css屬性列表 我要學習學習再學習 伊派 屬性名稱 字型屬性 font font family font style font variant font weight font size 顏色和背景屬性 color background color background image backgrou...

CSS屬性列表

屬性名稱 字型屬性 font font family font style font variant font weight font size 顏色和背景屬性 color background color background image background repeat background ...

CSS屬性列表

gn center 屬性名稱 字型屬性 font font family font style font variant font weight font size 顏色和背景屬性 color background color background image background repeat b...