Firefox developer tools adding a new rule?

前端 未结 2 798
一向
一向 2021-01-18 16:56

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

I can\'t find out how to add a new rule to the CSS from Inspector/Rules. By that

相关标签:
2条回答
  • 2021-01-18 17:13

    As of Firefox 33 (in nightly right now https://nightly.mozilla.org/), this works.

    When you have a node selected in the inspector, you can click on any of the selectors in the "Rules" sidebar to edit them.

    0 讨论(0)
  • 2021-01-18 17:14

    Update:

    As of FF 33.00 it is now possible to add new CSS rules using the inspector!


    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: enter image description here

    enter image description here

    0 讨论(0)
提交回复
热议问题