樣式種類說明
background-color背景顏色
background-image背景圖片
border-top設定上邊框線
border-bottom設定下邊框線
border-left設定左邊框線
border-right設定右邊框線
border-color設定邊框顏色
color設定文字顏色
height設定高度
width設定寬度
text-align對齊方式
text-decoration文字修飾方式
font-size字型大小
font-weight字型粗細
background-attachment背景是否固定
background-position背景圖片的位置
background-repeat重複貼圖方式
border-top-width設定上邊框線厚度
border-bottom-width設定下邊框線厚度
border-left-width設定左邊框線厚度
border-right-width設定右邊框線厚度
border-width設定邊框厚度
border-style設定邊框樣式
border-collapse邊框線重疊
float設定文繞圖
text-indent縮排
text-transform大小寫轉換
font-family字型名稱
font-style字型樣式
font-variant大小寫變換
letter-spacing文字間距
line-height設定行高
list-style-type項目符號樣式
margin設定邊界
margin-top設定上邊界
margin-bottom設定下邊界
margin-left設定左邊界
margin-right設定右邊界
padding設定邊距
table-layout表格配置方式

 


*CSS『文字屬性一覽』*


color : #525050 /*文字色彩*/


font-family : 新細明體 /*文字字型*/


font-size : 9pt /*文字大小*/


font-style:itelic /*文字斜體*/


font-variant:small-caps/*小字體*/


letter-spacing : 1pt/*字間距離*/


line-height : 200% /*設定行高*/


font-weight:bold /*文字粗體*/


vertical-align:sub /*下標字*/


vertical-align:super/*上標字*/


text-decoration:line-through/*加刪除線*/


text-decoration:overline /*加頂線*/


text-decoration:underline /*加底線*/


text-decoration:none /*刪除連結底線*/


text-transform : capitalize /*首字大寫*/


text-transform : uppercase /*英文大寫*/


text-transform : lowercase /*英文小寫*/


text-align:right /*文字靠右對齊*/


text-align:left /*文字靠左對齊*/


text-align:center /*文字置中對齊*/


*CSS『連結屬性分類』*


A /*所有超連結*/


A:link /*超連結文字格式*/ (是代表普通狀態的連結)


A:visited /*瀏覽過的連結文字格式*/ (是代表造訪過的連結)


A:active /*按下連結的格式*/ (是代表按下去連結)


A:hover /*滑鼠移至連結*/ (是代表滑鼠移到連結)


color是代表連結顏色


font-size 是代表連結文字大小,適用 point(pt) 或是 pixels(px)


text-decoration 是代表文字樣式,none 代表沒有底線

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 Lena 的頭像
    Lena

    Mikan♪

    Lena 發表在 痞客邦 留言(0) 人氣()