Download presentation
Presentation is loading. Please wait.
1
CSS (Cascading Style Sheets) 串接樣式
2
CSS 是 樣式修改語法 增強 HTML 的表現方式 改變文字 / 連結的樣式 改變網頁物件性質 底圖不重複 圖片濾鏡使用 游標更改 …
3
CSS 使用法 Short-term definition( 單一修改 ) 將 style 直接加在 TAG 裡面 EX: contents 意義 : 在 “ 這個 ” p 標籤裡的文字都會設為 font size = 5 color = #001100
4
CSS 使用法 Long-term definition ( 整頁設定 ) 將 CSS 寫于 與 之間, 則設定將會使用于本網 頁 EX: A:link { color=#7777ff;text-decoration:none } A:visited { color=#7777ff;text-decoration:none } A:hover { color=#3333ff;text-decoration:underline } 意義 : 所有在此網頁的 “ A ” 標籤將將會設定為 A.link (Normal) color = #7777ff and none decoration A.visited (Clicked before) color = #7777ff and none decoration A.hover (Mouse cursor over the link) color = #3333ff and underline
5
CSS 使用法 Reference definition( 讀取設定檔 ) 呼叫 CSS reference 檔 于 之間 網頁裡的 Tag 將會根據設定檔的定義
6
其他改變網頁物件性質 背景不重複 BODY{ background-repeat : repeat ︱ repeat-x ︱ repeat-y ︱ no-repeat} 透明濾鏡 IMG {filter:alpha(Opacity=n)} 改游標 BODY{cursor:url(*.cur 的 url); 還有很多相關設定, 請自行去尋找
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.