生成内容值 Content Notations Data Types
counter() | counters() | attr() |
CSS速查表
紫色 链接表示该属性在CSS3有修改或者增加了新的属性值;橙色 链接表示该属性是CSS3新增属性
position | z-index | top | right |
bottom | left | clip |
布局 Layout
display | overflow | overflow-x | overflow-y |
float | clear | visibility |
width | min-width | max-width | height |
min-height | max-height |
margin | margin-top | margin-right | margin-bottom |
margin-left |
padding | padding-top | padding-right | padding-bottom |
padding-left |
background | background-image | background-repeat | background-attachment |
background-position | background-origin | background-clip | background-size |
background-color |
color | opacity |
list-style | list-style-image | list-style-position | list-style-type |
table-layout | border-collapse | border-spacing | caption-side |
empty-cells |
content | counter-increment | counter-reset | quotes |
transition | transition-property | transition-duration | transition-timing-function |
transition-delay |
width | height | device-width | device-height |
orientation | aspect-ratio | device-aspect-ratio | color |
color-index | monochrome | resolution | scan |
grid |
scrollbar-3dlight-color | scrollbar-highlight-color | scrollbar-shadow-color | |
scrollbar-arrow-color | scrollbar-face-color | scrollbar-track-color | scrollbar-base-color |
filter | behavior |
border-colors | border-top-colors | border-right-colors | border-bottom-colors |
border-left-colors |
text-fill-color | text-stroke | text-stroke-width | text-stroke-color |
box-reflect | tap-highlight-color | user-drag |
* | E | E#id | E.class |
E[att] | E[att="val"] | E[att~="val"] | E[att|="val"] |
E[att^="val"] | E[att$="val"] | E[att*="val"] |
E:first-letter/E::first-letter | E:first-line/E::first-line | E:before/E::before | E:after/E::after |
E::placeholder | E::selection |
!important | comment | @charset | @page |
@import | @media | @font-face | @keyframes |
@supports |
<length> | em | ex | cm |
mm | in | pt | pc |
ch | rem | vw | vh |
vmax | vmin | q | px |
<angle> | deg | grad | rad |
turn |
<frequency> | Hz | kHz |
<fraction> | <grid> | fr | gr |
<resolution> | dpi | dpcm | dppx |
<color> | RGBA | HSL | HSLA |
transparent | currentColor | Color Name | HEX |
RGB |
文本值 Textual Data Types
inherit | <string> | <url> |
<identifier> |
initial |
unset |
calc() | toggle() |
counter() | counters() | attr() |
<image> | image() | image-set() | <gradient> |
linear-gradient() | radial-gradient() | repeating-linear-gradient() | repeating-radial-gradient() |
<number> | <integer> | <percentage> |
颜色关键字(Color Keywords) | 媒体类型(Media Types) |
条件Hack | 属性级Hack | 选择符级Hack |
参考资源列表 | Bugs和解决方案 | CSS技巧和经验列表 | 其它经验 |
推荐手册