Chrome开发者工具:检查美化的CSS [英] Chrome Developer Tools: inspect prettified CSS

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

问题描述

如果您想查看其他人网站的CSS(以窃取向他们学习),Firebug可让您检查经过批准的CSS:

不过,在Chrome 16中,我们可以看到,你只能得到缩小的CSS,因为它已经完成了:





有没有办法让Chrome来美化CSS? / div>

在新版本中,有一个格式按钮,可以优化源代码:



(只是意识到自己:P)

If you want to look at the CSS of other people's websites (to steal learn from them), Firebug lets you inspect the prettified CSS:

But in Chrome 16, you only get the minified CSS as it was served out:

Is there a way to get Chrome to prettify the CSS?

解决方案

In the newer versions there is a "format" button that prettifies the source:

(only just realised myself :P )

这篇关于Chrome开发者工具:检查美化的CSS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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