我想将此 css 元素恢复为默认设置,但我不知道如何覆盖这些列表样式的 css 元素。它们位于我无法更改但正在链接的另一个样式表上。如果你知道怎么做,请帮忙。
ol li {
list-style: decimal;
}
ol {
list-style: decimal outside;
}
最佳答案
使用!important
,例如:
ol li {
list-style: inherit !important;
}
ol {
list-style: inherit !important;
}
关于css - 列表样式 CSS 重写回默认值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9636132/