css属性大全表格.
动画属性 | 描述 | CSS版本 |
|---|---|---|
@keyframes | 键帧,定义动画 | 3 |
animation | 动画特效 | 3 |
animation-name | 动画名 | 3 |
animation-duration | 持续时间 | 3 |
animation-timing-function | 过渡类型 | 3 |
animation-delay | 延迟时间 | 3 |
animation-iteration-count | 循环次数 | 3 |
animation-direction | 方向,是否反向 | 3 |
animation-play-state | 状态 | 3 |
背景属性 | 描述 | CSS版本 |
|---|---|---|
background | 设置背景. | 1 |
background-attachment | 背景图滚动还是固定.必须有background-image属性. | 1 |
background-color | 背景色. | 1 |
background-image | 背景图. | 1 |
background-position | 背景图位置.必须有background-image属性. | 1 |
background-repeat | 填充.必须有background-image属性. | 1 |
background-clip | 背景图向外裁剪区域. | 3 |
background-origin | 背景图计算background-position时的参考点. | 3 |
background-size | 背景图大小. | 3 |
边框/轮廓属性 | 描述 | CSS版本 |
|---|---|---|
border | 复属.边框特性. | 1 |
border-bottom | 复属.下部边框特性. | 1 |
border-bottom-color | 下部边框颜色. | 1 |
border-bottom-style | 下部边框样式. | 1 |
border-bottom-width | 下部边框宽度. | 1 |
border-color | 边框颜色. | 1 |
border-left | 复属.左边框特性. | 1 |
border-left-color | 左边框颜色. | 1 |
border-left-style | 左边框样式. | 1 |
border-left-width | 左边框宽度. | 1 |
border-right | 复属.右边框特性. | 1 |
border-right-color | 右边框颜色. | 1 |
border-right-style | 右边框样式. | 1 |
border-right-width | 右边框宽度. | 1 |
border-style | 边框样式. | 1 |
border-top | 复属.上部边框特性. | 1 |
border-top-color | 上部边框颜色 | 1 |
border-top-style | 上部边框样式. | 1 |
border-top-width | 上部边框宽度. | 1 |
border-width | 边框宽度. | 1 |
outline | 复属.对象外线条廓. | 2 |
outline-color | 对象外线条廓颜色. | 2 |
outline-style | 对象外线条廓样式. | 2 |
outline-width | 对象外线条廓宽度. | 2 |
border-bottom-left-radius | 左下角圆角边框,2参:一水平半径,2垂直半径 | 3 |
border-bottom-right-radius | 右下角圆角边框. | 3 |
border-image | 图像填充. | 3 |
border-image-outset | 边框图像超过边框的量. | 3 |
border-image-repeat | 图像边框:重复(repeated),拉伸(stretched)或铺满(rounded). | 3 |
border-image-slice | 图像边框内偏移. | 3 |
border-image-source | 图像源,替代border-style属性中边框样式. | 3 |
border-image-width | 图像边框宽度. | 3 |
border-radius | 圆角边框. | 3 |
border-top-left-radius | 左上角边框半径. | 3 |
border-top-right-radius右上角边框半径. | 3 | |
box-decoration-break | 折行行内元素 | 3 |
box-shadow | 边框阴影. | 3 |
盒子属性 | 描述 | CSS版本 |
|---|---|---|
overflow-x | x向溢出. | 3 |
overflow-y | y向溢出. | 3 |
overflow-style | 溢出元素首选滚动方法. | 3 |
rotation | 围绕rotation-point定义点旋转元素. | 3 |
rotation-point | 距左上边框的偏移点. | 3 |
颜色属性 | 描述 | CSS版本 |
|---|---|---|
color-profile | 颜色配置 | 3 |
opacity | 透明度 | 3 |
rendering-intent | 渲染意向 | 3 |
内边距属性 | 描述 | CSS版本 |
|---|---|---|
padding | 设置所有内边距 | 1 |
padding-bottom | 下内边距 | 1 |
padding-left | 左内边距 | 1 |
padding-right | 右内边距 | 1 |
padding-top | 上内边距 | 1 |
媒体页面属性 | 描述 | CSS版本 |
|---|---|---|
bookmark-label | 书签标签 | 3 |
bookmark-level | 书签级别 | 3 |
bookmark-target | 书签链接目标 | 3 |
float-offset | 反向浮动,都具有浮动 | 3 |
hyphenate-after | 断字后最少字符数 | 3 |
hyphenate-before | 断字前最少字符数 | 3 |
hyphenate-character | 断字时,显示的字符串 | 3 |
hyphenate-lines | 最大连续断字行数 | 3 |
hyphenate-resource | 断定资源,帮助断字 | 3 |
hyphens | 如何分割单词来改善布局 | 3 |
image-resolution | 正确的图像分辨率 | 3 |
marks | 添加crop和/或cross到文档 | 3 |
string-set | 逗号分隔的串集 | 3 |
尺寸属性 | 描述 | CSS版本 |
|---|---|---|
height | 元素高 | 1 |
max-height | 最大高 | 2 |
max-width | 最大宽 | 2 |
min-height | 最小高 | 2 |
min-width | 最小宽 | 2 |
width | 宽度 | 1 |
新弹性盒属性 | 描述 | CSS版本 |
|---|---|---|
flex | 复合属性.子元素如何分配空间. | 3 |
flex-grow | 扩展率. | 3 |
flex-shrink | 收缩率. | 3 |
flex-basis | 伸缩基准值. | 3 |
flex-flow | 复合属性.子元素排列方式. | 3 |
flex-direction | 定义主轴向来决定felx子项的位置. | 3 |
flex-wrap | 与wrap一样. | 3 |
align-content | 对齐内容. | 3 |
align-items | 对齐项. | 3 |
align-self | 对齐自己. | 3 |
justify-content | 主轴(横轴)向对齐方式. | 3 |
order | 子元素顺序. | 3 |
旧弹性盒属性 | 描述 | CSS版本 |
|---|---|---|
box-align | 对齐框的子元素 | 3 |
box-direction | 方向 | 3 |
box-flex | 灵活/固定 | 3 |
box-flex-group | 灵活元素组 | 3 |
box-lines | 是否新行 | 3 |
box-ordinal-group | 子元素显示顺序 | 3 |
box-orient | 排列方向 | 3 |
box-pack | 横向框位置 | 3 |
字体属性 | 描述 | CSS版本 |
|---|---|---|
font | 所有字体属性 | 1 |
font-family | 字体系列 | 1 |
font-size | 大小 | 1 |
font-style | 风格 | 1 |
font-variant | 样式 | 1 |
font-weight | 粗细 | 1 |
@font-face | 字面,多种字体 | 3 |
font-size-adjust | 调整 | 3 |
font-stretch | 收缩或拉伸 | 3 |
生成内容属性 | 描述 | CSS版本 |
|---|---|---|
content | :before或:after配合使用,插入生成内容 | 2 |
counter-increment | 加减计数器 | 2 |
counter-reset | 创建或重置计数器 | 2 |
quotes | 置引号类型 | 2 |
crop | 剪切 | 3 |
move-to | 移至. | 3 |
page-policy | 页策略 | 3 |
网格属性 | 描述 | CSS版本 |
|---|---|---|
grid-columns | 栅列 | 3 |
grid-rows | 栅行 | 3 |
超链接属性 | 描述 | CSS版本 |
|---|---|---|
target | 设置target-name, target-new,和target-position属性 | 3 |
target-name | 目标位置 | 3 |
target-new | 新窗口? | 3 |
target-position | 位置 | 3 |
超链接属性 | 描述 | CSS版本 |
|---|---|---|
alignment-adjust | 更精确对齐 | 3 |
alignment-baseline | 基线 | 3 |
baseline-shift | 基线偏移 | 3 |
dominant-baseline | 主基线 | 3 |
drop-initial-after-adjust | 调整下拉 | 3 |
drop-initial-after-align | 对齐下拉 | 3 |
drop-initial-before-adjust | 调整前下拉 | 3 |
drop-initial-before-align | 对齐前下拉 | 3 |
drop-initial-size | 下拉大小 | 3 |
drop-initial-value | 下拉值 | 3 |
inline-box-align | 内联盒对齐 | 3 |
line-stacking | 总的,行栈 | 3 |
line-stacking-shift | 堆叠方法 | 3 |
line-stacking-strategy | 策略 | 3 |
text-height | 文本高 | 3 |
列表属性 | 描述 | CSS版本 |
|---|---|---|
list-style | 列表风格 | 1 |
list-style-image | 图像 | 1 |
list-style-position | 位置 | 1 |
list-style-type | 类型 | 1 |
外边距属性 | 描述 | CSS版本 |
|---|---|---|
margin | 所有外边距属性 | 1 |
margin-bottom | 下外边距 | 1 |
margin-left | 左外边距 | 1 |
margin-right | 右外边距 | 1 |
margin-top | 上外边距 | 1 |
字幕属性 | 描述 | CSS版本 |
|---|---|---|
marquee-direction | 方向 | 3 |
marquee-play-count | 多少次 | 3 |
marquee-speed | 速度 | 3 |
marquee-style | 的样式 | 3 |
多列属性 | 描述 | CSS版本 |
|---|---|---|
column-count | 列数 | 3 |
column-fill | 填充 | 3 |
column-gap | 间隙 | 3 |
column-rule | 所有规则简写 | 3 |
column-rule-color | 规则颜色 | 3 |
column-rule-style | 规则风格 | 3 |
column-rule-width | 规则宽 | 3 |
column-span | 小块 | 3 |
column-width | 宽 | 3 |
columns | 列 | 3 |
页面媒体属性 | 描述 | CSS版本 |
|---|---|---|
fit | 适合 | 3 |
fit-position | 适合位置 | 3 |
image-orientation | 方向 | 3 |
page | 页 | 3 |
size | 大小 | 3 |
位置属性 | 描述 | CSS版本 |
|---|---|---|
bottom | 下边位置 | 2 |
clear | 不允许浮动 | 1 |
clip | 剪切绝对定位 | 2 |
cursor | 光标类型 | 2 |
display | 生成框类型 | 1 |
float | 浮动 | 1 |
left | 左 | 2 |
overflow | 溢出时 | 2 |
position | 定位类型 | 2 |
right | 右 | 2 |
top | 上 | 2 |
visibility | 可见性 | 2 |
z-index | z序 | 2 |
分页属性 | 描述 | CSS版本 |
|---|---|---|
orphans | 最少行数 | 2 |
page-break-after | 分页后 | 2 |
page-break-before | 分页前 | 2 |
page-break-inside | 分页内 | 2 |
widows | 页顶行数 | 2 |
语音属性 | 描述 | CSS版本 |
|---|---|---|
mark | 一起置标记 | 3 |
mark-after | 在后标记 | 3 |
mark-before | 在前标记 | 3 |
phonemes | 单标 | 3 |
rest | 其余 | 3 |
rest-after | 在前其余 | 3 |
rest-before | 在后其余 | 3 |
voice-balance | 左右声道平衡 | 3 |
voice-duration | 时长 | 3 |
voice-pitch | 音调 | 3 |
voice-pitch-range | 音调区间 | 3 |
voice-rate | 语速 | 3 |
voice-stress | 力度 | 3 |
voice-volume | 幅度 | 3 |
表格属性 | 描述 | CSS版本 |
|---|---|---|
border-collapse | 折叠 | 2 |
border-spacing | 间距 | 2 |
caption-side | 标题位置 | 2 |
empty-cells | 空单元配置 | 2 |
table-layout | 表格布局 | 2 |
文本属性 | 描述 | CSS版本 |
|---|---|---|
color | 颜色 | 1 |
direction | 方向 | 2 |
letter-spacing | 字间距 | 1 |
line-height | 行高 | 1 |
text-align | 水平对齐 | 1 |
text-decoration | 文本装饰 | 1 |
text-indent | 首块缩进 | 1 |
text-transform | 文本大小写 | 1 |
unicode-bidi | 2 | |
vertical-align | 垂直对齐 | 1 |
white-space | 空白 | 1 |
word-spacing | 字间距 | 1 |
text-emphasis | 重点标记 | 1 |
hanging-punctuation | 标点 | 3 |
punctuation-trim | 是否去标点 | 3 |
text-align-last | 对齐最后 | 3 |
text-justify | 分散对齐 | 3 |
text-outline | 文字轮廓 | 3 |
text-overflow | 溢出时 | 3 |
text-shadow | 文本阴影 | 3 |
text-wrap | 换行 | 3 |
word-break | 字断 | 3 |
word-wrap | 长词换行 | 3 |
转换属性 | 描述 | CSS版本 |
|---|---|---|
transform | 转换 | 3 |
transform-origin | 位置 | 3 |
transform-style | 风格 | 3 |
perspective | 角度 | 3 |
perspective-origin | 底部位置 | 3 |
backface-visibility | 可见性 | 3 |
过渡属性 | 描述 | CSS版本 |
|---|---|---|
transition | 过渡 | 3 |
transition-property | 属性 | 3 |
transition-duration | 时长 | 3 |
transition-timing-function | 函数 | 3 |
transition-delay | 延时 | 3 |
用户外观属性 | 描述 | CSS版本 |
|---|---|---|
appearance | 元素外观 | 3 |
box-sizing | 盒大小 | 3 |
icon | 图标 | 3 |
nav-down | 下 | 3 |
nav-index | 索引 | 3 |
nav-left | 左 | 3 |
nav-right | 右 | 3 |
nav-up | 上 | 3 |
outline-offset | 轮廓偏移 | 3 |
resize | 调整大小 | 3 |
浙公网安备 33010602011771号