teamcfadvance / cfstatic

CfStatic is a framework for managing the inclusion and packaging of CSS and JavaScript in CFML applications.
https://teamcfadvance.github.io/cfstatic
MIT License
102 stars 35 forks source link

Blessing CSS files #91

Closed ghost closed 4 years ago

ghost commented 11 years ago

This is most certainly a feature request but I wanted to get it out there in case other people might be able to get to it before I have time to do so.

As some of us know, IE sucks and has this weird limitation with the number of selectors in individual CSS files. That limit is 4095 selectors - over that, they get ignored and things look weird. This hasn't been a huge problem in the past, but with the advent of CSS frameworks and responsive designs, the limit isn't as hard to hit as it used to be.

I thought it would be a perfect opportunity for CFStatic to implement a method for splitting up CSS files to fit the ~4000 selector limit. See something like this: http://blesscss.com/

I haven't had time to implement anything yet, but wanted to get it out there. Maybe someone else has the time :)

DominicWatson commented 11 years ago

Great idea. Will implement for 0.8.