当前位置: 首页 > 网络学院 > 网页制作基础教程 > CSS > CSS list-style-type属性
The list-style-type sets the type of the list-item marker.
list-style-type 可用来设置 list-item标记的类型
Note: Some browsers only support the "disc" value.
注意:一些浏览器只支持"disc"值
Inherited: Yes
继承性:有
ul { list-style-type: disc } |
值 | 描述 |
---|---|
none | No marker 没有标记 |
disc | The marker is a filled circle 标记为实心圆 |
circle | The marker is a circle 空心圆 |
square | The marker is a square 实心方块 |
decimal | The marker is a number 阿拉伯数字 |
decimal-leading-zero | The marker is a number padded by initial zeros (01, 02, 03, etc.) 0起头的数字标记(01,02,03,等等) |
lower-roman | The marker is lower-roman (i, ii, iii, iv, v, etc.) 小写罗马数字 |
upper-roman | The marker is upper-roman (I, II, III, IV, V, etc.) 大写罗马数字 |
lower-alpha | The marker is lower-alpha (a, b, c, d, e, etc.) 小写英文字母 |
upper-alpha | The marker is upper-alpha (A, B, C, D, E, etc.) 大写英文字母 |
lower-greek | The marker is lower-greek (alpha, beta, gamma, etc.) 基本的希腊小写字母 |
lower-latin | The marker is lower-latin (a, b, c, d, e, etc.) 小写拉丁字母 |
upper-latin | The marker is upper-latin (A, B, C, D, E, etc.) 大写拉丁字母 |
hebrew | The marker is traditional Hebrew numbering 传统的希伯莱数字 |
armenian | The marker is traditional Armenian numbering 传统的亚美尼亚数字 |
georgian | The marker is traditional Georgian numbering (an, ban, gan, etc.) 传统的乔治数字 |
cjk-ideographic | The marker is plain ideographic numbers 浅白的表意数字 |
hiragana | The marker is: a, i, u, e, o, ka, ki, etc. 日文平假名字符 |
katakana | The marker is: A, I, U, E, O, KA, KI, etc. 日文片假名字符 |
hiragana-iroha | The marker is: i, ro, ha, ni, ho, he, to, etc. 日文平假名序号 |
katakana-iroha | The marker is: I, RO, HA, NI, HO, HE, TO, etc. 日文片假名序号 |