| backdrop-filter |
定义元素背景区域的图形效果。 |
| backface-visibility |
定义当面对用户时元素的背面是否应可见。 |
| background |
所有 background-* 属性的简写属性。 |
| background-attachment |
设置背景图像是与页面的其余部分一起滚动还是固定的。 |
| background-blend-mode |
规定每个背景图层(颜色/图像)的混合模式。 |
| background-clip |
定义背景(颜色或图像)应在元素内延伸的距离。 |
| background-color |
规定元素的背景色。 |
| background-image |
规定元素的一幅或多幅背景图像。 |
| background-origin |
规定背景图像的初始位置。 |
| background-position |
规定背景图像的位置。 |
| background-position-x |
指定背景图像在 x 轴上的位置。 |
| pr_background-position-y |
指定背景图像在 y 轴上的位置。 |
| background-repeat |
设置是否以及如何重复背景图像。 |
| background-size |
规定背景图像的尺寸。 |
| block-size |
指定元素在块方向上的大小。 |
| border |
border-width、border-style 以及 border-color 的简写属性。 |
| border-block |
以下属性的简写属性:
- border-block-width
- border-block-style
- border-block-color
|
| border-block-color |
设置块方向上开始和结束边框的颜色。 |
| border-block-end |
以下属性的简写属性:
- border-block-end-width
- border-block-end-style
- border-block-end-color
|
| border-block-end-color |
设置块方向上结束边框的颜色。 |
| border-block-end-style |
设置块方向上结束边框的样式。 |
| border-block-end-width |
设置块方向上结束边框的宽度。 |
| border-block-start |
以下属性的简写属性:
- border-block-start-width
- border-block-start-style
- border-block-start-color
|
| border-block-start-color |
设置块方向上开始边框的颜色。 |
| border-block-start-style |
设置块方向上开始边框的样式。 |
| border-block-start-width |
设置块方向上开始边框的宽度。 |
| border-block-style |
设置块方向上开始和结束边框的样式。 |
| border-block-width |
设置块方向上开始和结束边框的宽度。 |
| border-bottom |
border-bottom-width、border-bottom-style 以及 border-bottom-color 的简写属性。 |
| border-bottom-color |
设置下边框的颜色。 |
| border-bottom-left-radius |
定义左下角的边框圆角。 |
| border-bottom-right-radius |
定义右下角的边框圆角。 |
| border-bottom-style |
设置下边框的样式。 |
| border-bottom-width |
设置下边框的宽度。 |
| border-collapse |
设置表格边框是折叠为单一边框还是分开的。 |
| border-color |
设置四条边框的颜色。 |
| border-end-end-radius |
设置元素块结束和行内结束边之间的角落半径。 |
| border-end-start-radius |
设置元素块结束和行内开始边之间的角落半径。 |
| border-image |
border-image-* 属性的简写属性。 |
| border-image-outset |
规定边框图像区域超出边框的量。 |
| border-image-repeat |
规定边框图像应重复、圆角、还是拉伸。 |
| border-image-slice |
规定如何裁切边框图像。 |
| border-image-source |
规定用作边框的图像的路径。 |
| border-image-width |
规定边框图像的宽度。 |
| border-inline |
以下属性的简写属性:
- border-inline-width
- border-inline-style
- border-inline-color
|
| border-inline-color |
设置行内方向上开始和结束边框的颜色。 |
| border-inline-end |
以下属性的简写属性:
- border-inline-end-width
- border-inline-end-style
- border-inline-end-color
|
| border-inline-end-color |
设置行内方向上结束边框的颜色。 |
| border-inline-end-style |
设置行内方向上结束边框的样式。 |
| border-inline-end-width |
设置行内方向上结束边框的宽度。 |
| border-inline-start |
以下属性的简写属性:
- border-inline-start-width
- border-inline-start-style
- border-inline-start-color
|
| border-inline-start-color |
设置行内方向上开始边框的颜色。 |
| border-inline-start-style |
设置行内方向上开始边框的样式。 |
| border-inline-start-width |
设置行内方向上开始边框的宽度。 |
| border-inline-style |
设置行内方向上开始和结束边框的样式。 |
| border-inline-width |
设置行内方向上开始和结束边框的宽度。 |
| border-left |
所有 border-left-* 属性的简写属性。 |
| border-left-color |
设置左边框的颜色。 |
| border-left-style |
设置左边框的样式。 |
| border-left-width |
设置左边框的宽度。 |
| border-radius |
四个 border-*-radius 属性的简写属性。 |
| border-right |
所有 border-right-* 属性的简写属性。 |
| border-right-color |
设置右边框的颜色。 |
| border-right-style |
设置右边框的样式。 |
| border-right-width |
设置右边框的宽度。 |
| border-spacing |
设置相邻单元格边框之间的距离。 |
| border-start-end-radius |
设置元素块开始和行内结束边之间的角落半径。 |
| border-start-start-radius |
设置元素块开始和行内开始边之间的角落半径。 |
| border-style |
设置四条边框的样式。 |
| border-top |
border-top-width、border-top-style 以及 border-top-color 的简写属性。 |
| border-top-color |
设置上边框的颜色。 |
| border-top-left-radius |
定义左上角的边框圆角。 |
| border-top-right-radius |
定义右上角的边框圆角。 |
| border-top-style |
设置上边框的样式。 |
| border-top-width |
设置上边框的宽度。 |
| border-width |
设置四条边框的宽度。 |
| bottom |
设置元素相对于其父元素底部的位置。 |
| box-decoration-break |
设置元素在分页符处的背景和边框的行为,或对于行内元素在换行符处的行为。 |
| box-reflect |
用于创建元素的反射效果。 |
| box-shadow |
将一个或多个阴影附加到元素。 |
| box-sizing |
定义元素的宽度和高度的计算方式:它们是否应包含内边距和边框。 |
| break-after |
规定指定元素之后是否应出现 page-、column- 或 region-break。 |
| break-before |
规定指定元素之前是否应出现 page-、column- 或 region-break。 |
| break-inside |
规定指定元素内部是否应出现 page-、column- 或 region-break。 |
| filter |
定义元素显示之前的效果(例如,模糊或颜色偏移)。 |
| flex |
flex-grow、flex-shrink 以及 flex-basis 的简写属性。 |
| flex-basis |
规定弹性项目的初始长度。 |
| flex-direction |
规定弹性项目的方向。 |
| flex-flow |
flex-direction 和 flex-wrap 的简写属性。 |
| flex-grow |
规定项目相对于其余项目的增量。 |
| flex-shrink |
规定项目相对于其余项目的减量。 |
| flex-wrap |
规定弹性项目是否应该换行。 |
| float |
规定是否应该对盒(box)进行浮动。 |
| font |
font-style、font-variant、font-weight、font-size/line-height 以及 font-family 的简写属性。 |
| @font-face |
允许网站下载和使用 "web-safe" 字体以外的其他字体的规则。 |
| font-family |
规定文本的字体族(字体系列)。 |
| font-feature-settings |
允许控制 OpenType 字体中的高级印刷特性。 |
| @font-feature-values |
允许创作者使用 font-variant-alternate 中的通用名来实现在 OpenType 中以不同方式激活的特性。 |
| font-kerning |
控制字距调整信息的使用(字母间距)。 |
| font-language-override |
控制特定语言的字形在字体的使用。 |
| @font-palette-values |
允许您自定义字体调色板的默认值。 |
| font-size |
规定文本的字体大小。 |
| font-size-adjust |
保持发生字体回退时的可读性。 |
| font-stretch |
从字体系列中选择一个普通的、压缩的或扩展的字体。 |
| font-style |
规定文本的字体样式。 |
| font-synthesis |
控制哪些缺失的字体(粗体或斜体)可以由浏览器合成。 |
| font-variant |
规定是否应该以小型大写字体显示文本。 |
| font-variant-alternates |
控制与 @font-feature-values 中定义的备用名称关联的备用字形的使用。 |
| font-variant-caps |
控制大写字母的备用字形的使用。 |
| font-variant-east-asian |
控制东亚文字(例如中文和日语)的备用字形的使用。 |
| font-variant-ligatures |
控制在适用于元素的文本内容中使用哪些连字和上下文形式。 |
| font-variant-numeric |
控制数字、分数和序号标记的备用字形的使用。 |
| font-variant-position |
控制较小字体的替代字形的使用,这些字形相对于字体基线定位为上标或下标。 |
| font-weight |
规定字体的粗细。 |
| object-fit |
规定替换元素的内容应如何适合其所用高度和宽度建立的框。 |
| object-position |
指定替换元素在其框内的对齐方式。 |
| offset |
以下属性的简写属性:
- offset-anchor
- offset-distance
- offset-path
- offset-position
- offset-rotate
|
| offset-anchor |
指定元素上固定在动画路径上的点。 |
| offset-distance |
指定动画元素在路径上的位置。 |
| offset-path |
指定元素沿其动画的路径。 |
| offset-position |
指定元素沿路径的初始位置。 |
| offset-rotate |
指定元素沿路径动画时的旋转。 |
| opacity |
设置元素的不透明等级。 |
| order |
设置弹性项目相对于其余项目的顺序。 |
| orphans |
设置页面或列底部必须保留的最小行数。 |
| orphans |
设置在元素内发生分页时必须保留在页面底部的最小行数。 |
| outline |
outline-width、outline-style 以及 outline-color 属性的简写属性。 |
| outline-color |
设置轮廓的颜色。 |
| outline-offset |
对轮廓进行偏移,并将其绘制到边框边缘之外。 |
| outline-style |
设置轮廓的样式。 |
| outline-width |
设置轮廓的宽度。 |
| overflow |
规定如果内容溢出元素框会发生什么情况。 |
| overflow-anchor |
指定在可滚动容器中加载新内容时,是否应将可见区域中的内容向下推。 |
| overflow-wrap |
指定浏览器是否可以在长单词溢出容器时断行。 |
| overflow-wrap |
规定浏览器是否可能为了防止溢出而在单词内折行(当字符串太长而无法适应其包含框时)。 |
| overflow-x |
规定是否剪裁内容的左右边缘,如果它溢出了元素的内容区域。 |
| overflow-y |
规定是否剪裁内容的上下边缘,如果它溢出了元素的内容区域。 |
| overscroll-behavior |
指定在 x 和 y 方向上是否具有滚动链或过度滚动效果。 |
| overscroll-behavior-block |
指定在块方向上是否具有滚动链或过度滚动效果。 |
| overscroll-behavior-inline |
指定在行内方向上是否具有滚动链或过度滚动效果。 |
| overscroll-behavior-x |
指定在 x 方向上是否具有滚动链或过度滚动效果。 |
| overscroll-behavior-y |
指定在 y 方向上是否具有滚动链或过度滚动效果。 |
| tab-size |
规定制表符的宽度。 |
| table-layout |
定义用于对单元格、行和列进行布局的算法。 |
| text-align |
规定文本的水平对齐方式。 |
| text-align-last |
描述当 text-align 为 "justify" 时,如何在强制换行之前对齐块或行的最后一行。 |
| text-combine-upright |
将多个字符组合到到单个字符的空间中。 |
| text-decoration |
规定文本装饰。 |
| text-decoration-color |
规定文本装饰(text-decoration)的颜色。 |
| text-decoration-line |
规定文本装饰(text-decoration)中的的行类型。 |
| text-decoration-style |
规定文本装饰(text-decoration)中的行样式。 |
| text-decoration-thickness |
规定装饰线的粗细。 |
| text-emphasis |
以下属性的简写属性:
- text-emphasis-style
- text-emphasis-color
|
| text-emphasis-color |
指定强调标记的颜色。 |
| text-emphasis-position |
指定强调标记的位置。 |
| text-emphasis-style |
指定强调标记的样式。 |
| text-indent |
规定文本块(text-block)中的的首行缩进。 |
| text-justify |
规定当 text-align 为 "justify" 时使用的对齐方法。 |
| text-orientation |
定义一行中字符的方向。 |
| text-overflow |
规定当文本溢出包含元素时应该发生的情况。 |
| text-shadow |
添加文本阴影。 |
| text-transform |
控制文本的大写。 |
| text-underline-offset |
指定下划线文本装饰的偏移距离。 |
| text-underline-position |
指定下划线文本装饰的位置。 |
| top |
规定定位元素的顶端位置。 |
| transform |
向元素应用 2D 或 3D 转换。 |
| transform-origin |
允许您更改转换元素的位置。 |
| transform-style |
规定如何在 3D 空间中渲染嵌套的元素。 |
| transition |
所有 transition-* 属性的简写属性。 |
| transition-delay |
规定合适开始过渡效果。 |
| transition-duration |
规定完成过渡效果所需的秒或毫秒数。 |
| transition-property |
规定过渡效果对应的 CSS 属性的名称。 |
| transition-timing-function |
规定过渡效果的速度曲线。 |
| translate |
指定元素的位置。 |