| 属性 |
CSS对应属性 |
描述 |
| 布局 |
|
|
| resize |
resize |
标签可调整大小 |
| 布局(弹性容器) |
|
display: flex 属性下有效 |
| flex |
flex |
比列:综合 |
| flexGrow |
flex-grow |
比列:增长量 |
| flexShrink |
flex-shrink |
比列:缩减量 |
| flexBasis |
flex-basis |
比列:长度 |
| |
|
|
| flexFlow |
flex-flow |
排列:综合 |
| flexDirection |
flex-direction |
排列:子标签方向 |
| flexWrap |
flex-wrap |
排列:子标签是否换行 |
| |
|
|
| order |
order |
标签位置顺序 |
| justifyContent |
justify-content |
标签排列方式 |
| 背景 |
|
|
| backgroundClip |
background-clip |
背景绘制区域 |
| backgroundOrigin |
background-origin |
背景图定位 |
| backgroundSize |
background-size |
背景图大小 |
| 边框 |
|
|
| borderRadius |
border-radius |
四角:圆度 |
| borderTopLeftRadius |
border-top-left-radius |
上左角:圆度 |
| borderTopRightRadius |
border-top-right-radius |
上右角:圆度 |
| borderBottomLeftRadius |
border-bottom-left-radius |
下左角:圆度 |
| borderBottomRightRadius |
border-bottom-right-radius |
下右角:圆度 |
| |
|
|
| borderImage |
border-image |
图像边框:综合 |
| borderImageSource |
border-image-source |
图像边框:路径 |
| borderImageSlice |
border-image-slice |
图像边框:偏移 |
| borderImageWidth |
border-image-width |
图像边框:宽度 |
| borderImageOutset |
border-image-outset |
图像边框:超出边框值 |
| borderImageRepeat |
border-image-repeat |
图像边框:平铺、拉伸 |
| 边框投影 |
|
|
| boxShadow |
box-shadow |
|
| 透明度 |
|
|
| opacity |
opacity |
(IE9) |
| 图像视觉 |
|
|
| filter |
filter |
图像滤镜:模糊、亮度、透明、等(不兼容) |
| 对齐方式 |
|
|
| alignContent |
align-content |
|
| alignItems |
align-items |
|
| alignSelf |
align-self |
|
| 属性改变过渡 |
|
hover鼠标指向 |
| transition |
transition |
综合 |
| transitionProperty |
transition-property |
指定改变属性 |
| transitionDuration |
transition-duration |
过渡时间 |
| transitionTimingFunction |
transition-timing-function |
过渡快慢曲线 |
| transitionDelay |
transition-delay |
过渡前延时 |
| 动画 |
|
|
| animation |
animation |
动画设置 |
| animationName |
animation-name |
动画设置:动画名称 |
| animationDuration |
animation-duration |
动画设置:运行时间 |
| animationTimingFunction |
animation-timing-function |
动画设置:速度方式 |
| animationDelay |
animation-delay |
动画设置:开始前延时 |
| animationIterationCount |
animation-iteration-count |
动画设置:运行次数 |
| animationDirection |
animation-direction |
动画设置:是否反向动画 |
| |
|
|
| animationFillMode |
animation-fill-mode |
|
| animationPlayState |
animation-play-state |
运行、暂停 |
| backfaceVisibility |
backface-visibility |
旋转图片,背面不显示 |
| 文本光标 |
|
|
| caretColor |
caret-color |
光标颜色 |
| 文本 |
|
|
| textDecorationColor |
text-decoration-color |
文本装饰:线条颜色 |
| textDecorationLine |
text-decoration-line |
文本装饰:线条位置 |
| textDecorationStyle |
text-decoration-style |
文本装饰:线条样式,单线、双线、波浪线 |
| textOverflow |
text-overflow |
文本溢出:裁剪、省略号 |
| textShadow |
text-shadow |
文本阴影 |
| textAlignLast |
text-align-last |
text-align:justify 属性下,设置文本最后一行对齐方式 |
| wordBreak |
word-break |
允许字母换行 |
| wordWrap |
word-wrap |
允许断开不可换行的单词 |
| userSelect |
user-select |
禁止选取文本(鼠标选取) |
| |
|
|
| columns |
columns |
文本划分:每列最小宽度、几列 |
| columnWidth |
column-width |
文本划分:每列最小宽度 |
| columnCount |
column-count |
文本划分:几列 |
| |
|
|
| columnRule |
column-rule |
文本列间隔样式:宽、样式、颜色 |
| columnRuleWidth |
column-rule-width |
文本列间隔样式:宽 |
| columnRuleStyle |
column-rule-style |
文本列间隔样式:样式 |
| columnRuleColor |
column-rule-color |
文本列间隔样式:颜色 |
| |
|
|
| columnFill |
column-fill |
文本列填充 |
| columnGap |
column-gap |
文本列之间的间隔宽 |
| 超链接(a标签) |
|
|
| scrollBehavior |
scroll-behavior |
定位跳转:滚动动画 |
| 溢出(滚动条) |
|
|
| overflowX |
overflow-x |
(IE9)水平 |
| overflowY |
overflow-y |
(IE9)垂直 |
| 图像、视频 |
|
|
| objectFit |
object-fit |
宽高比 |
| objectPosition |
object-position |
位置 |
| 2D、3D |
|
|
| perspective |
perspective |
3D视角:俯视 |
| perspectiveOrigin |
perspective-origin |
3D视角:xy轴位置 |
| |
|
|
| transform |
transform |
3D改变:旋转、缩放、移动、倾斜 |
| transformOrigin |
transform-origin |
3D改变:位置 |
| transformStyle |
transform-style |
3D改变:呈现方式 |
| 其它 |
|
|
| columnSpan |
column-span |
标签跨几列 |
| boxSizing |
box-sizing |
|
| isolation |
isolation |
|