How to save CSS changes of Styles panel of Chrome

2019-01-01 13:54发布

How to save CSS changes of Styles panel of Google Chrome Developer Tools?

At tool's website it's mentioned that we can see all change in resource panel

enter image description here

But I'm working locally on a CSS file but changes are not showing in Resource panel for me

enter image description here

enter image description here

By the way Do you know any add-ons , tools to save css changes of Chrome Developer tools? I know for Firebug there are many https://stackoverflow.com/search?q=firebug+CSS+changes+save

10条回答
谁念西风独自凉
2楼-- · 2019-01-01 14:49

You're looking in the wrong section of "Resources".

It's not under "Local Storage", it's under "Frames":

The above screenshot shows a diff of the original styles against the new modifications made in the devtools. You can right-click the item in the left pane and save it back to disk.

查看更多
冷夜・残月
3楼-- · 2019-01-01 14:49

Tincr Chrome extension is easier to install (no need to run node server) AND also comes with LiveReload like functionality out the box! Talk about bi-directional editing! :)

Tin.cr Website

Chrome Web Store Link

Andy's Blog Article

查看更多
笑指拈花
4楼-- · 2019-01-01 14:52

To answer the last part of your question about any extensions that can save changes, there is hotfix

It allows you to save changes from Chrome Dev Tools directly to GitHub. From there you can set up a post-receive hook on GitHub to automatically update your website.

查看更多
春风洒进眼中
5楼-- · 2019-01-01 14:55

Now that Chrome 18 was released last week with the required APIs, I published my chrome extension in the Chrome web store. The extension automatically saves changes in CSS or JS in Developer tools into the local disk. Go check it out.

查看更多
登录 后发表回答