We operate multiple websites, each referencing 3-5 CSS files. Some of these files are shared across sites while others are specific to certain pages.
Our aim is to streamline the CSS structure by consolidating into fewer files without altering the end result visually on any page.
We want to avoid manually checking margins and sizes in different browsers for every web page.
Is there a method to verify if the CSS rules have changed post-merge?
I am seeking a tool that can generate the effective CSS rules for HTML elements, similar to the functionality in Google Chrome's dev tools.
If we could automatically produce "computed CSS rules" for every element on a page, we could compare the before.css
and after.css
files for any variations. However, this would result in large files being generated.
Any suggestions on how to achieve this?