当我谈到样式列表时,我发现自己不确定 list-style
和 list-style-type
之间的区别。它们是一样的吗?
最佳答案
来自 www.w3schools.com :
"The list-style shorthand property sets all the list properties in one declaration."
和here
"The list-style-type specifies the type of list-item marker in a list."
list-style
是设置list-style-type
、list-style-position
和list-style的简写-image
属性全部在一个声明中。
关于html - list-style-type 和 list-style 有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19889069/