相关属性

列表

属性作用属性值
list-style-type设置列表符号none​:不显示前面的标识square​:实心方块disc​:圆形decimal​:数字lower-roman:​小写罗马字upper-roman​:大写罗马字lower-alpha​:小写字母upper-alpha​:大写字母
list-style-position设置列表符合位置inside​:在li的里面outside​:在li的外边
list-style-image自定义列表符号(url)
list-style复合属性(没用数量,顺序的要求)

边框

边框相关属性(其他元素也能使用)

属性作用属性值
border-width边框宽度
border-color边框颜色
border-style边框风格none​:默认值solid​:实心dashed​:虚线dotted​:实线double​:双实线
border复合边框属性(没有顺序要求)

背景

属性作用
background-color背景颜色,默认:transparent
background-imgeurl(地址)
background-repeat重复方式
background-position控制图片位置,(x,y),关键字/像素
bakkground复合属性

鼠标光标样式

属性名:cursor
属性值:wait​(等待),helo​(帮助)…
自定义鼠标光标
cursor:url('地址'),pointer