css随笔
id选择器:#“id名”
类选择器:.“class名”
标签选择器:“标签名”
文本属性:
- font-weight:粗细
- font-size:字体大小
- font-family:字体
- line-height:行高
- text-align:对齐
- letter-spacing:字符间距
- text-decoration:文本修饰
- white-space:空白处理
背景属性:
- background-color:背景颜色
- background-image:背景图
- background-repeat:背景图是否重复
- background-position:坐标位置、偏移量(图标截取、背景偏移量技术)
<li>常用属性
list-style:
- none:无风格
- disc:实心圆(ul默认)
- circle:空心圆
- square:实心正方形
- decimal:数字(ol)

浙公网安备 33010602011771号