tool to remove repeated css selectors
Posted
by Rees
on Stack Overflow
See other posts from Stack Overflow
or by Rees
Published on 2010-01-22T14:26:53Z
Indexed on
2010/04/30
15:27 UTC
Read the original article
Hit count: 517
css
I have 3 stylesheets that I have copied and pasted all into 1. As such, there are identical/repeated selectors. Is there an effective tool I can use to remove all repeated selectors if the style properties are identical? Another requirement is if the repeated selector exists once within a group of selectors and once as a standalone selector... the program will remove the selector AND properties of the standalone only (not delete the properties of the selector in a group).
I have no clue if this is possible, but have just spent a few hours looking for one with no avail. Anyone know of anything close? Thanks in advance!
© Stack Overflow or respective owner