Systematically resolve conflicting styles in css

后端 未结 4 1129
长情又很酷
长情又很酷 2021-02-20 04:31

I have some stylesheets from different sources in my web project. I want to harmonize them. Some styles I need from the one, some from the other. Is there a tool or method how

4条回答
  •  青春惊慌失措
    2021-02-20 04:59

    Have you tried this Firefox extension? Dust Me Selector http://www.brothercake.com/dustmeselectors/ It makes removing redundant styles much easier.

    Otherwise, I'd probably pop all the styles into one file, trying to group together similar rules, and then use Dust-Me to remove the unused ones.

提交回复
热议问题