For IE6-9:
1. A maximum of 4095 style rules can be entered, and more than this number will be ignored;
2. Style Sheet@ Import
,<Link>
Or<Style>
) A maximum of 31 (total) values are allowed, and more than this number will be ignored;
3. @ import can nest up to three layers, and more than three layers will be ignored.
For IE10 and IE11:
1. There can be a maximum of 65534 style rules, and more than this number will be ignored;
2. Style Sheet@ Import
,<Link>
Or<Style>
) Can have a maximum of 4095 (total), more than this number will be ignored;
3. @ import can nest a maximum of 4095 layers. More than one layer will be ignored.
PS: A style rule (CSS rule) includes a selector and a declaration block:
For more information about these algorithms, see the first article in the article.
For other browsers, no relevant information is found, but it should be similar to IE10 (or more). Try again later.
References:
Stylesheet Limits in Internet Explorer
Internet Explorer imposes a maximum limit of 32 individual styleSheet
Internet Explorer CSS limits
What is the max number css rules I can specify in style sheet per browser
Internet explorer limits css and script resources to 30