如何学习html元素使用其样式的CSS文件路径?

时间:2022-03-05 07:39:29

When I select an element on a web page with FireBug's selector, I can easiy see what stye settings it uses.

当我使用FireBug的选择器在网页上选择一个元素时,我可以轻松地看到它使用的stye设置。

But how can I learn the source css file's path as well?

但是我如何才能学习源css文件的路径呢?

Thanks

3 个解决方案

#1


2  

On the right of each rule the file name of the CSS file is shown. Point at it, and the tooltip shows you the complete request URL.

在每个规则的右侧,显示CSS文件的文件名。指向它,工具提示显示完整的请求URL。

#2


3  

You can see this information in Firebug as well as the line number. Place your mouse over the css file reference and the tool tip will give you further details. 如何学习html元素使用其样式的CSS文件路径?

您可以在Firebug中查看此信息以及行号。将鼠标放在css文件参考上,工具提示将为您提供更多详细信息。

#3


0  

Chrome's inspector allows you to see which CSS rules are matched in an element (and the source css file). I don't know about firebug though.

Chrome的检查器允许您查看元素(以及源css文件)中匹配的CSS规则。我不知道萤火虫。

#1


2  

On the right of each rule the file name of the CSS file is shown. Point at it, and the tooltip shows you the complete request URL.

在每个规则的右侧,显示CSS文件的文件名。指向它,工具提示显示完整的请求URL。

#2


3  

You can see this information in Firebug as well as the line number. Place your mouse over the css file reference and the tool tip will give you further details. 如何学习html元素使用其样式的CSS文件路径?

您可以在Firebug中查看此信息以及行号。将鼠标放在css文件参考上,工具提示将为您提供更多详细信息。

#3


0  

Chrome's inspector allows you to see which CSS rules are matched in an element (and the source css file). I don't know about firebug though.

Chrome的检查器允许您查看元素(以及源css文件)中匹配的CSS规则。我不知道萤火虫。