CSS 属性总结
background-color 背景色
background-image 背景图像
background-repeat 背景重复
background-attachment 背景关联
background-position 背景定位
font-size 字体大小
font-weight 字体的粗细
font-family 字体系列
color 文本颜色
line-height 行高
letter-spacing 字母间距
text-align 文本对齐方式
text-decoration 向文本添加修饰
text-indent 首行缩进
text-transform 字母大小写转换
white-space 文本是否换行显示
word-spacing 字间距
list-style 列表样式
list-style-type 列表项标记的类型
list-style-position 标记所在的位置
list-style-image 使用图片作为列表项的标记
border 边框线
border-collapse 否将表格边框折叠为单一边框
width 宽度
height 高度
vertical-align 垂直对齐方式
text-align 水平对齐方式
padding 内边距
margin 外边距
display 规定元素应该生成的框的类型
position 定位
float 浮动
CSS相关文章
爱学习的孩子运气不会差哦~
关注小白前端,持续收到文章推送!