1
HTML/CSSIntermediate#css#layout-puzzle
Minimize deeply nested/expensive selectors, avoid layout thrashing by batching style reads/writes, use will-change sparingly for known animations, lazy-load non-critical CSS, minify and compress stylesheets, and remove unused CSS with tools like PurgeCSS.
/* Avoid expensive universal + descendant chains */
/* bad */
body div ul li a span { color: red; }
/* better: use a single class */
.link-text { color: red; }