CSS常用属性

时间:2020-07-04 13:46:46   收藏:0   阅读:49
1.字体
名称font-family
大小font-size
样式font-style
粗细font-weight
简写属性font (集合写法)

2.文本
颜色color
行高line-height
对齐方式text-align
方向direction
缩进text-indent
装饰线text-decoration
间隔lettter-spacing
阴影text-shadow

3.尺寸
宽度和高度width height
最小宽度和高度 min-width min-height
最大宽度和高度 max-width max-height

4.列表
list-style-image
list-style-position
list-style-type

5.背景
background-color
background-image
background-repeat
background-position
background-attachment
简写属性background

原文:https://www.cnblogs.com/kylingx/p/13234635.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!