rhymedigital / contao_ie9css4096
An extension for Contao Open Source CMS that fixes the <IE9 4096 selector limit in CSS files
Installs: 35
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Type:contao-module
Requires
- php: >=5.3.2
- contao-community-alliance/composer-installer: *
- contao/core: >=3.3.0,<4.0.0-dev
- dlundgren/php-css-splitter: dev-master
- terminal42/contao-namespace-class-loader: >=1.0.2
This package is auto-updated.
Last update: 2024-12-12 02:22:26 UTC
README
This extension for Contao Open Source CMS solves a tricky problem on large sites.
IE9 and below (god help us) only recognize the first 4095 selectors in a CSS file. Anything 4096+ is ignored. I know you're saying to yourself:
Internet Explorer? Screwing up the internet? Never!
But it's true. This extension will scan your nicely compiled/minified CSS files from Contao and add anything beyond the 4095 selector limit to some additional files and add a handy IE conditional selector for these files to the head tag of your frontend template. Nothing needed from your end.
This extension uses dlundgren/php-css-splitter to split up the files.