|
|
|
|
|
by codedokode
1757 days ago
|
|
Another bad thing (in my opinion) is "useless" rules. There are at least two kinds of useless rules: 1) rule that does not apply to any element on the page. Such rules only inflate CSS file and waste traffic and CPU cycles to process them 2) rule that is overriden by another rule. Again, it doesn't have any effect on the page and only wastes CPU cycles. The case 1 happens when styles for all pages are merged into a single file instead of making different bundles for different pages. Both cases happen when using bloated CSS frameworks. |
|