列表
属性 | 作用 | 属性值 |
---|
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-imge | url(地址) |
background-repeat | 重复方式 |
background-position | 控制图片位置,(x,y),关键字/像素 |
bakkground | 复合属性 |
鼠标光标样式
属性名:cursor
属性值:wait
(等待),helo
(帮助)…
自定义鼠标光标
cursor:url('地址'),pointer