Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tool to identify repeated CSS selectors across two stylesheets [closed]

Tags:

css

We're bringing in outside content to our existing site along with its associated external CSS stylesheet and need to identify the CSS selectors that share the same name across the two files. Once identified, we plan on manually modifying each duplicate in the newly imported file, then changing the HTML accordingly.

Does anyone know of a tool that will do this? One painful way I thought about was to combine all the CSS into one Word Document and going down the page doing manual Finds? That would be nice to avoid though.

like image 697
linnse Avatar asked Nov 13 '22 23:11

linnse


1 Answers

There is a firefox plugin called Dust me selectores which is designed to find unused CSS code. It may be what you're looking for.

like image 99
Spudley Avatar answered Nov 15 '22 11:11

Spudley