使用Chrome开发人员工具注入CSS? [英] Inject CSS with chrome developer tool?
问题描述
我可以在哪里添加CSS到我正在查看的页面?我不想直接向一个元素添加样式,我想在编辑网站的style.css之前向页面添加一个文档来调试更改。
Where can I add CSS to the page I'm viewing? I don't want to add style to one element directly, I want to add a 'document' to a page to debug changes before editing the site's style.css.
请注意,这里有很多关于'从Chrome扩展中注入CSS'的问题,但我特别想通过'Chrome Developer Tools'来实现。
Note, there are lots of questions here about 'injecting CSS from a chrome extension', but specifically I want to do it via the 'Chrome Developer Tools' thingy.
推荐答案
这是你在做什么之后?:如何直接在Chrome中编辑源文件 http://www.sitepoint.com/edit-source-files-in-chrome/
Is this what you're after?: "How to Edit Source Files Directly in Chrome" http://www.sitepoint.com/edit-source-files-in-chrome/
这篇关于使用Chrome开发人员工具注入CSS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!