CSS文字字型邊框的屬性名稱
阿新 • • 發佈:2020-12-30
字型
font-size --字型大小
font-weight:bolder/told/homal/100-900 粗->細
font-family --字型型別
font-style:italic/oblique/normal --字型傾斜
font:bold italic 30px/2 "微軟雅黑"
font-weight font-style font-size font-family
font-style|font-weight|font-size|line-height|font-family
lint-height:nomal;//數值
color:#333 --顏色
文字
text-tarnsform:uppercase - 全大寫/lowrcase-全小寫/capitalize-首字母大寫 font-variant:small-caps - 設定文字小型大寫字母
文字對齊方式
水平對齊方式 - text-align:left/right/center-居中/justify-兩端對齊
垂直對齊方式
verticca-align:top/bottom/middle 中間
文字修飾
text-decoration:
none-沒有修飾
underine-新增下劃線
overline-新增上劃線
line0through-新增刪除線
首行縮排
text-indent:2em
文字陰影
text-shadow
字間距
letter-spacing:value
詞間距
word-spacing:value
列表屬性
list-style-type:
disc實心
ircle-空心
square-實心方塊
none-去調列表符號
list-style-image:url(圖片路徑)
list-style-position:outside-外邊/inside-裡邊
list-style:none -去掉列表樣式
邊框
border
border-style:
solide-實線
dashed-虛線
dotted-點狀線
double-雙線
non-o去掉邊框
border-width:value - 邊框厚度
border-color:#333
邊框屬性
boder-top:
boder-left:
boder-right:
boder-botton: