生成内容值 Content Notations Data Types
| counter() | counters() | attr() |
CSS3速查表
紫色 链接表示该属性在CSS3有修改或者增加了新的属性值;橙色 链接表示该属性是CSS3新增属性
| position | clip |
| background | background-image | background-repeat | background-attachment |
| background-position | background-origin | background-clip | background-size |
| opacity |
| 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 |
| 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[att^="val"] | E[att$="val"] | E[att*="val"] |
| E:not(s) | E:root | E:last-child | E:only-child |
| E:nth-child(n) | E:nth-last-child(n) | E:target | E:first-of-type |
| E:last-of-type | E:only-of-type | E:nth-of-type(n) | E:nth-last-of-type(n) |
| E:empty | E:checked | E:enabled | E:disabled |
| E:first-letter/E::first-letter | E:first-line/E::first-line | E:before/E::before | E:after/E::after |
| E::placeholder | E::selection |
| @import | @media | @font-face | @keyframes |
| @supports |
| ch | rem | vw | vh |
| vmax | vmin | q |
| <angle> | deg | grad | rad |
| turn |
| <frequency> | Hz | kHz |
| <fraction> | <grid> | fr | gr |
| <resolution> | dpi | dpcm | dppx |
| <color> | RGBA | HSL | HSLA |
| transparent | currentColor |
文本值 Textual Data Types
| initial | unset |
| calc() | toggle() |
| counter() | counters() | attr() |
| <image> | image() | image-set() | <gradient> |
| linear-gradient() | radial-gradient() | repeating-linear-gradient() | repeating-radial-gradient() |
推荐手册