Inject CSS with chrome developer tool?

前端 未结 8 856
忘了有多久
忘了有多久 2020-12-13 18:40

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

8条回答
  •  既然无缘
    2020-12-13 19:20

    Is this what you're after?: "How to Edit Source Files Directly in Chrome" http://www.sitepoint.com/edit-source-files-in-chrome/


    From that article:

    Step 1: Launch Developer Tools. Go to View -> Developer -> Developer Tools. Navigate to "Sources"

    Step 2: Click the Filesystem tab, then click + Add folder to workspace. You’ll be prompted to locate your work folder and Chrome will ask you to confirm that you Allow access.

    Step 3: Edit and Save Your Code and refresh the browser to see your changes

提交回复
热议问题