【发布时间】:2018-10-08 05:11:53
【问题描述】:
我有一个 drupal 8 站点。 我创建了一个子主题并更改了这个子主题的 css。 我的修改在 chrome 和 firefox 中显示和工作正常,但在 Internet Explorer 11 和 Edge 中它不起作用。 例如这个css代码:
a,
a:hover,
a:active,
a:visited {
color: #f4512c;
}
当我检查给定的元素时,我看到 style.css 的 css 属性被应用,但它们被scaffolding.less 覆盖。 怎么来的?
当我使用 !Important 时,它会被应用,但我宁愿不使用它 !Important...
【问题讨论】: