RubyFlow The Ruby and Rails community linklog

Getting Around Internet Explorer’s 4,096 CSS Rule Limit

I recently found out that IE can’t handle more than 4,095 selectors in a single CSS file. This is easy to run into when you’re using a framework like Rails’ asset pipeline, where it’s so easy to make a single large CSS file. Here’s my work-around.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in