3 ms·
This problem can be avoided by using @import statements within each style tag to import more than 30 stylesheets. Some discussion here: http://drupal.org/node/2
by jamesjyu 17y ago
This problem can be avoided by using @import statements within each style tag to import more than 30 stylesheets. Some discussion here: http://drupal.org/node/228818 http://drupal.org/node/228818
Of course, you should avoid doing this in production anyway, and just asset package your stylesheets into very few stylesheets. I've made a fork of the asset_packager project to support this behavior after 31 stylesheets: http://github.com/jamesyu/asset_packager_ie_css_limit http://github.com/jamesyu/asset_packager_ie_css_limit
- danw 17y agoThere's a limit to the number of @import's you can have per style tag too, but the imported stylesheets can also include @import's, from what I remember.