Total rules

rules.total

The number of rules in the CSS.

Example

/* rule 1 */
selector {
	property: value;
}

@media (all) {
	/* rule 2 */
	selector {
		property: value;
	}
}

There are 2 rules in this example.

{
	"rules.total": 2
}

Further reading