Extracting only the css used in a specific page

前端 未结 15 2042
难免孤独
难免孤独 2020-12-04 06:51

Say you had a dynamically generated site that has been worked on by too many people, past and present, and you now have a collection of shared stylesheets that contain over

15条回答
  •  孤城傲影
    2020-12-04 07:44

    (Not for firefox but maybe this helps someone)

    If you are working on chrome you can use this extension:

    CSS remove and combine (https://chrome.google.com/webstore/detail/css-remove-and-combine/cdfmaaeapjmacolkojefhfollmphonoh)

    • lets you download a combined css with all used styles
    • shows unused styles in popup window
    • includes generated styles

提交回复
热议问题