开发者

How can I learn the CSS file path from which an html element is using its styles?

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

开发者_Go百科But how can I learn the source css file's path as well?

Thanks


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.

How can I learn the CSS file path from which an html element is using its styles?


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜