css 常用属性索引

来源:互联网 发布:python去除空格 编辑:程序博客网 时间:2024/04/26 18:06
CSS属性索引 -- 按字母顺序
CSS2.1属性按功能索引
/*...*/ -- 注释
azimuth
background-attachment -- 背景图片随滚动轴的移动方式
background-color -- 背景颜色
background-image -- 背景图像
background-position -- 背景图片的位置
background-repeat -- 背景图片的显示方式
background -- 统一背景
border -- 统一边框所有属性
border-bottom -- 统一下边框
border-bottom-color -- 下边框颜色
border-bottom-style -- 下边框样式
border-bottom-width -- 下边框宽度
border-break -- 内容分开的边框
border-collapse
border-color -- 边框颜色
border-left -- 统一左边框
border-image -- 边框图像
border-left-color -- 左边框颜色
border-left-style -- 左边框样式
border-left-width -- 左边框宽度
border-radius -- 圆角边框
border-right-color -- 右边框颜色
border-right-style -- 右边框样式
border-right-width -- 右边框宽度
border-right -- 统一右边框
border-spacing
border-style -- 边框样式
border-top -- 统一上边框
border-top-color -- 上边框颜色
border-top-style -- 上边框样式
border-top-width -- 上边框宽度
border-width -- 统一边框宽度
bottom -- 下偏移属性
caption-side
clear -- 清除
clip -- 了盒子可显示的区域
color -- 颜色
content -- 字符串
counter-increment
counter-reset
cue-after
cue-before
cue
cursor -- 鼠标样式
direction
display -- 显示方式
elevation
empty-cells
float -- 元素漂浮
font-family-- 字体
font-size -- 字体大小
font-style -- 字体样式
font-variant -- 小型的大写字母字体
font-weight -- 字体粗细
font -- 统一字体所有属性
height -- 盒子高度
left -- 左偏移属性
letter-spacing -- 文本中字母的间距(中文为文字的间距)
line-height -- 一段文字中每行文字的间距
list-style-image -- 列表图像
list-style-position -- 列表位置
list-style-type -- 列表类型
list-style -- 统一列表所有属性
margin-right -- 右边外补白宽度
margin-left -- 左边外补白宽度
margin-top -- 上边外补白宽度
margin-bottom -- 下边外补白宽度
margin -- 统一边外补白
max-height -- 最大高度
max-width -- 最大宽度
min-height -- 最小高度
min-width -- 最小宽度
opacity -- 元素的透明度
orphans
outline-color
outline-style
outline-width
outline
overflow -- 盒子中内容的显示方式
padding-top -- 上边内补白
padding-right -- 右边内补白
padding-bottom -- 下边内补白
padding-left -- 左边内补白
padding -- 统一边内补白
page-break-after
page-break-before
page-break-inside
pause-after
pause-before
pause
pitch-range
pitch
play-during
position -- 元素的定位
quotes
richness
right -- 右偏移属性
speak-header
speak-numeral
speak-punctuation
speak
speech-rate
stress
table-layout
text-align -- 文本对齐方式
text-decoration -- 文本是否有划线以及划线的方式
text-indent -- 文本的首行缩进
text-transform -- 文本的大小写状态,此属性对中文无意义
top -- 上偏移属性
unicode-bidi
vertical-align -- 垂直对齐方式
visibility -- 元素是否可见
voice-family
volume
white-space -- 文本的格式
widows
width -- 盒子宽度
word-spacing -- 以空格间隔文字的间距
z-index -- z轴顺序
猴子提示: 本教程没有介绍的属性使用浅灰色标注

CSS语法
From "CSS属性索引 - 按字母顺序 - CSS教程"













CSS2.1属性按功能索引
CSS盒模式
border-collapse
border-color -- 边框颜色
border-spacing
border-style -- 边框样式
border-top -- 上边框
border-right -- 右边框
border-bottom -- 下边框
border-left -- 左边框
border-top-color -- 上边框颜色
border-right-color -- 右边框颜色
border-bottom-color -- 下边框颜色
border-left-color -- 左边框颜色
border-top-style -- 上边框样式
border-right-style -- 右边框样式
border-bottom-style -- 下边框样式
border-left-style -- 左边框样式
border-top-width -- 上边框宽度
border-right-width -- 右边框宽度
border-bottom-width -- 下边框宽度
border-left-width -- 左边框宽度
border-width -- 边框宽度
border -- 边框所有属性
margin-right -- 右边外补白宽度
margin-left -- 左边外补白宽度
margin-top -- 上边外补白宽度
margin-bottom -- 下边外补白宽度
margin -- 边外补白
padding-top -- 上边内补白
padding-right -- 右边内补白
padding-bottom -- 下边内补白
padding-left -- 左边内补白
padding -- 边内补白
CSS视觉格式模型
display -- 显示方式
position -- 元素的定位
bottom -- 下偏移属性
left -- 左偏移属性
right -- 右偏移属性
top -- 上偏移属性
float -- 元素漂浮
z-index -- z轴顺序
direction
unicode-bidi
max-height -- 最大高度
max-width -- 最大宽度
min-height -- 最小高度
min-width -- 最小宽度
height -- 盒子高度
width -- 盒子宽度
clear -- 清除
line-height -- 一段文字中每行文字的间距
vertical-align -- 垂直对齐方式
CSS视觉效果
clip -- 了盒子可显示的区域
overflow -- 盒子中内容的显示方式
visibility -- 元素是否可见
CSS列表
list-style-image -- 列表图像
list-style-position -- 列表位置
list-style-type -- 列表类型
list-style -- 列表所有属性
CSS背景
background-attachment -- 背景图片随滚动轴的移动方式
background-color -- 背景颜色
background-image -- 背景图像
background-position -- 背景图片的位置
background-repeat -- 背景图片的显示方式
background -- 背景
CSS字体
font-family -- 字体
font-size -- 字体大小
font-style -- 字体样式
font-variant -- 小型的大写字母字体
font-weight -- 字体粗细
font -- 字体所有属性
CSS文本
text-align -- 文本对齐方式
text-decoration -- 文本是否有划线以及划线的方式
text-indent -- 文本的首行缩进
text-transform -- 文本的大小写状态,此属性对中文无意义
white-space -- 文本的格式
word-spacing -- 以空格间隔文字的间距
letter-spacing -- 文本中字母的间距(中文为文字的间距)
CSS颜色
color -- 颜色
CSS听觉样式
azimuth
cue-after
cue-before
cue
direction
elevation
pause-after
pause-before
pause
pitch-range
pitch
play-during
richness
speak-header
speak-numeral
speak-punctuation
speak
speech-rate
stress
unicode-bidi
voice-family
volume
CSS表格
border-collapse
border-spacing
caption-side
empty-cells
table-layout
CSS翻页(打印)
orphans
page-break-after
page-break-before
page-break-inside
widows
UI(用户接口)
cursor -- 鼠标样式
outline-color
outline-style
outline-width
outline
CSS内容
content -- 字符串
CSS自动计数
counter-increment
counter-reset
CSS引号
quotes


0 0
原创粉丝点击