Sass: Dealing with the IE 4095 selectors per stylesheet restriction

前端 未结 3 1567
执念已碎
执念已碎 2021-02-04 17:29

Note: This question refers to a Rails project with Sass & Compass. Using the Rails Asset Pipeline? Then have a look at this question.

We are developing a bi

3条回答
  •  长情又很酷
    2021-02-04 17:58

    If you can't reduce the number of selectors, there is no choice other than to split the CSS file.

    Your proposed solution for doing so already sounds optimal, if a little complicated to implement.

提交回复
热议问题