主权项 |
1. A method comprising:
receiving a browser-independent cascading style sheet (CSS) file that conforms to a CSS standard, wherein the browser-independent CSS file is not customized for a specific browser type; creating, by a processing device, from the browser-independent CSS file, a custom CSS file customized for a plurality of browsers via a plurality of plugins, wherein each plugin of the plurality of plugins is configured for a corresponding one of the plurality of browsers, wherein creating the custom CSS file comprises:
applying, via a first plugin of the plurality of plugins, one or more first CSS filters to the browser-independent CSS file according to a first interpretation of CSS behavior by a corresponding first browser of the plurality of browsers to create a first adjusted CSS file, at least one of the first CSS filters comprising a CSS hack;applying, via a second plugin of the plurality of plugins, one or more second CSS filters to the first adjusted independent CSS file according to a second interpretation of CSS behavior by a second browser of the plurality of browsers to create a second adjusted CSS file; andrepeating the applying via each remaining plugin of the plurality of plugins for each corresponding remaining browser of the plurality of browsers to create the custom CSS file. |