Styling - Font
Font-family: "Times New Roman",Times,serif;
Font-style: normal;
Italic oblique (斜體)
Font-size: 16 px;
1 em (pixels/16 = em)
使用 %與 Em 解決不同瀏覽器 resize 問題
Body {font-size: 100%;}
H1{font-size: 2em;}
p {font-size: 0.8em;}
8.
Styling - Links
Links states:
a:link – a normal, unvisited link
a:visited – a link the user has visited
a:hover – a link when the user mouse over it
a:active - a link the moment it is clicked
Rules:
Hover 必須在 link & visited 之後定義
Active 必須在 hover 之後定義
常搭配Text-decoration、background-color
樣式使用