网页CSS常用英文命名说明


编辑: upupw 发布时间: 2013-03-11 00:00:00 来源: UPUPW绿色服务器平台 热度: 13607

Font and Text Properties  字体文本属性

font-family 字体 譬如宋体,黑体

font-style 字体类型 normal正常 | italic 斜体 |

font-variant normal 正常| small-caps 小字体的大写文本

font-weight normal 正常| bold 粗体

font-size 字体大小 

letter-spacing 文字间间距

line-height 行高度

text-decoration 文字修饰 underline 下划线|| line-through 横线|| blink 闪烁

text-transform 文字转换 capitalize第一个字母大写 | uppercase大写 | lowercase 小写| none正常

text-align 内容排列 left左边 | right后边 | center居中

text-indent 文字后退 段落中第一句后退一定空间

vertical-align  垂直排列 sub 下标| super 上标 

Color and Background Properties  颜色和背景属性

color 颜色

background-color 背景颜色

background-image 背景图片

background-repeat 背景图片重复

background-attachment 背景图片附属 scroll滚动 | fixed 固定

background-position 背景图片的定位

background  背景 

1234