Safari/Chrome Developer Tools debug CSS overrides

情到浓时终转凉″ 提交于 2019-12-01 04:17:08

Look at the one which isn't striked out, higher up on the list.

Alternatively, view the computed styles. They will be the definitive applied styles.

sheplu

When you inspect an element, you can show the 'box'. Just bottom of that, you have a 'filter' which should show you every properties being applied to your element.

If you click on a property, it will give you the file and the line number.

Developer Tools will list all rules for an element. Just read through all the CSS rules that apply, and check for a non-struck-through one with the same name.

Go to Elements >> Computed and you'll get the stylesheet that defines the rule you're looking for.

Go to the Computed tab of Chrome Developer tools. Find wanted property and expand details.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!