Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Edit CSS from Firefox Developer Edition Inspector tool

I'm trying to save CSS changes done on Inspector tab in Firefox Developer Edition.

As far as I know, you can only save your css in Style Editor tab, but it doesn't reflect changes made with Inspector Tool.

Is there anyway to edit css in Style Editor from Inspector tab?

like image 281
user2068363 Avatar asked Nov 01 '22 14:11

user2068363


1 Answers

In searching for a better workflow, I found that you can make your changes to Inspector, then reflect those changes into Style editor, where you can save it.

It is not automatic, but it is easy enough with one extra click.

Just do your changes in the inspector, then click the file-name:line-number link and save your changes. See the visual guide below:

  1. Inspect and find your object.
    image link

  2. Click the file-name:line-number link just to see that your property is the original you see on inspector.
    image link

  3. Back to inspector. Change your value, and click the file-name:line-number link again.
    image link

  4. You will see that the value in the Style Editor has been updated with the value changed in Inspector. Now just save and move on to the next element.
    image link

Now you can switch quickly back to the Inspector with the keyboard shortcut CTRL+SHIFT+C (note: This shortcut doesn't work for me, so you may need to find an advanced keyboard shortcut manager).

like image 52
Jonathan Magoga Avatar answered Nov 13 '22 17:11

Jonathan Magoga