CSS 参考
From MDC
This is a work in progress. If you would like to help write up any of the pages listed below, you are more than welcome to help.
If you are going to add a page, please copy/paste the content from CSS Reference:Property Template and modify as required.
The basic template for example pages can be found here: TEMPLATE.html. Just copy the source from that file, modify as required, then email the example pages and any related files to deb@mozilla.com for uploading.
If you have any questions or suggestions, please feel free to discuss them on the Talk:CSS Reference page.
The primary references I'm using at the moment are:
- W3C Cascading Style Sheets, level 2 revision 1 (main)
- W3C Cascading Style Sheets, level 1 (secondary)
- W3C Cascading Style Sheets (notes on CSS3) (where useful/interesting)
The current goal is for this document is to provide comprehensive, detailed, and accurate reference information for CSS up to at least Level 2, Revision 1.
Please do not copy or plagarize copyrighted materials without written permission from the author. Please write original, clear content for this reference. Thanks.
-- dria 11:39, 17 October 2005 (PDT)
Note: please use the Template:cssxref to link to properties from this reference, for example: {{cssxref|color}}. Doing so results in more concise wiki markup and consistent style across the reference. --Nickolay 16:33, 23 September 2006 (PDT)
目录 |
[编辑] 属性
-
azimuth -
background -
background-attachment -
background-color -
background-image -
background-position -
background-repeat -
border -
border-bottom -
border-bottom-color -
border-bottom-style -
border-bottom-width -
border-collapse -
border-color -
border-left -
border-left-color -
border-left-style -
border-left-width -
border-right -
border-right-color -
border-right-style -
border-right-width -
border-spacing -
border-style -
border-top -
border-top-color -
border-top-style -
border-top-width -
border-width -
bottom -
caption-side -
clear -
clip -
color -
content -
counter-increment -
counter-reset -
cue -
cue-after -
cue-before -
cursor -
direction -
display -
elevation -
empty-cells -
float -
font -
font-family -
font-size -
font-size-adjust -
font-stretch -
font-style -
font-variant -
font-weight -
height -
ime-mode -
left -
letter-spacing -
line-height -
list-style -
list-style-image -
list-style-position -
list-style-type -
margin -
margin-bottom -
margin-left -
margin-right -
margin-top -
marker-offset -
marks -
max-height -
max-width -
min-height -
min-width -
opacity -
orphans -
outline -
outline-color -
outline-offset -
outline-style -
outline-width -
overflow -
padding -
padding-bottom -
padding-left -
padding-right -
padding-top -
page -
page-break-after -
page-break-before -
page-break-inside -
pause -
pause-after -
pause-before -
pitch -
pitch-range -
play-during -
position -
quotes -
richness -
right -
size -
speak -
speak-header -
speak-numeral -
speak-punctuation -
speech-rate -
stress -
table-layout -
text-align -
text-decoration -
text-indent -
text-shadow -
text-transform -
top -
unicode-bidi -
vertical-align -
visibility -
voice-family -
volume -
white-space -
widows -
width -
word-spacing -
z-index
[编辑] 选择符
[编辑] 简单选择符
-
类型选择符(Type selectors) -
类选择符(Class selectors) -
ID 选择符(ID selectors) -
通配选择符(Universal selectors) -
属性选择符(Attribute selectors) -
:not
[编辑] 组合器(Combinators)
[编辑] 伪元素(Pseudo-elements)
[编辑] 伪类(Pseudo-classes)
- 链接伪类(Link pseudo-classes)
- 动态伪类(Dynamic pseudo-classes)
- 页伪类(Page pseudo-classes)
- 结构伪类(Structural pseudo-classes)
- 用户界面伪类(User interface pseudo-classes)
- 语言伪类(Language pseudo-classes)
[编辑] Other