logo Marcy Brook

CSS Comparer

Enter a style sheet into each of the boxes below, then make a selection using the checkboxes and click "compare". The box beneath that button will then show all rules that fit the criteria of the checkboxes.

Selecting multiple checkboxes will combine their individual results.

Show me rules that are:



Note: This uses a primative CSS parser that I wrote, and as a result it cannot handle media queries and anything else more complicated than selectors and rule declarations. It also separates comma-separated lists of selectors into their own set of rules in order to compare rules that are declared differently, but are empirically the same. On the bright side, if you enter the same css text into both boxes it will auto-format it for you.