查看CSS特性的工具 [英] Tool to see CSS specificity

查看:91
本文介绍了查看CSS特性的工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道是否有某种工具可以查看/选择基于CSS特异性的最佳CSS选择器来定位特定的div?

Does anyone know if there is some kind of tool to see/pick the best CSS selector based on CSS specificity to target a particular div?

更高的特异性,但有时候在其他人的项目,他们有深深嵌套的选择器在CSS,很难找到一种方法覆盖那里的东西。

I know what has higher specificity, but sometimes when working on other people projects where they have deeply nested selectors in there CSS,it is hard to find a way to override there stuff.

我知道在谷歌色铬开发工具/ firebug它显示在底部查看页面源时的很多信息,是应该使用的东西,还是有其他方法?

I know in Google chromes dev tool/firebug it shows a lot of information at the bottom when viewing the page source, is that something that should be used for this or is there other methods?

推荐答案

使用Chrome检查器。

Use Chrome Inspector.

DevFest 2010 - Chrome开发人员工具 - 深入

Google Chrome开发人员工具:12种更快速的开发技巧

Google的开发工具专页

这篇关于查看CSS特性的工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆