时间: 2021-07-31 作者:daque
这一节独一咱们将要计划的是怎样用 css 来变换列表前的标识。咱们领会有两种列表:无序和无序。无序 列表用阿拉伯数字为标识, 无序列表用玄色小圈子来 做标识。用 css 的 list-style-type 这两种列表的标 识都不妨有四种采用: 无序: disc, circle, square, decimal无序: upper-roman, lower-roman, upper-alpha, lower-alpha.假设你想叫无序列表的标识为巨细罗马假名 li.upperroman {list-style-type: upper-roman}请看底下的比拟 disc circle square decimal 小写罗马 小写罗马 小写假名 小写假名