Quote:
Originally Posted by Brett Merkey
I think I may have already posted this, but you can unstack those selectors in the CSS with a regular expression:
--unstack selectors so Calibre "Remove unused rules" tool can be used:
Search: ([.]?[^ ]+),\s([^{]+)(\{[^}]+\})
Replace: \1 \3\n\n\2\3
'Replace All' until 0 returns.
|
That is slick! I will copy and save to calibre's snipets. After the dead-wood is deleted, can you again regroup the ones which are identical? Best regards, Pop