萬盛學電腦網

您现在的位置: 萬盛學電腦網 >> 程式設計 >  >> 網頁製作 >> Div CSS 教學

CSS 屬性參考大全:按功能分類的完整屬性列表(含 IE 版本支持標註)

CSS 屬性分類參考

本文彙總主流 CSS 屬性,按功能模塊分類,並標註 IE 版本支持情況:

  • * IE5 支持
  • ** IE5.5 支持
  • ++ IE6 支持
  • 已提交:已提交 W3C 但未成標準
  • 擴展:非標準擴展屬性

行為屬性

behavior

字體與文本屬性

direction*、direction、font、font-family、font-size、font-style、font-variant、font-weight、ime-mode、layout-grid、layout-grid-char、layout-grid-line、layout-grid-mode、layout-grid-type、letter-spacing、line-break、line-height、min-height++、ruby-align、ruby-overhang、ruby-position、text-align、text-autospace、text-decoration、text-indent、text-justify、text-kashida-space、text-overflow++、text-transform、text-underline-position、unicode-bidi、vertical-align、white-space**、word-break、word-spacing++、word-wrap、writing-mode

顏色與背景屬性

background-attachment、background-color、background-image、background-position、background-position-x、background-position-y、background-repeat、color

版面與盒模型屬性

border 系列(border-bottom、border-color、border-style、border-width 等)、border-collapse*、clear、float、layout-flow、margin 系列、padding 系列、scrollbar-* 系列(IE 專有)、table-layout*、zoom

分類與顯示屬性

display、list-style 系列

定位屬性

bottom*、clip、height、left、overflow、overflow-x、overflow-y、position、right*、top、visibility、width、z-index

打印屬性

page**、pageBreakAfter、pageBreakBefore

濾鏡屬性

filter(IE 專有)

偽類與其他

:active、@charset、cursor、:first-letter**、:first-line**、@font-face、:hover、@import、!important、:link、@media*、@page**、:visited

此列表涵蓋 CSS1/2 核心屬性及 IE 專有擴展,適合作為開發時的快速查閱手冊。

copyright © 萬盛學電腦網 all rights reserved