Firefox开发者工具添加新规则? [英] Firefox developer tools adding a new rule?

查看:178
本文介绍了Firefox开发者工具添加新规则?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我决定尝试内置的Firefox开发工具。似乎很好,但...

I decided to try out the built in Firefox Developer Tools. Seems to be nice, but...

我不知道如何添加一个新的规则到CSS从检查器/规则。我的意思是.my-new-rule不只是默认打开的元素规则。

I can't find out how to add a new rule to the CSS from Inspector/Rules. By that I mean ".my-new-rule" not just the "element" rule that is open by default.

FINAL EDIT:

FINAL This is now possible with the latest Firefox update.

推荐答案

更新:



从FF 33.00起,现在可以使用检查器添加新的CSS规则!

不可能使用检查器创建新的CSS规则与浏览器插件(见下面的注释)。

只需使用样式编辑器。在任何位置键入以创建新规则:

It is not possible to use the inspector to create new CSS rules with out a browser add-on (see comment below).
Just use the style editor. Type anywhere to make a new rule:

>

这篇关于Firefox开发者工具添加新规则?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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