阅读背景:

CSS类名称长度是否影响浏览器性能?

来源:互联网 

Example: Gmail.

例如:Gmail。

From all the DOM elements, ~2000 have at least one CSS class and there are a total of ~500 distinct CSS class names on the page. Gmail uses closure-stylesheets to minify/uglify their CSS class names. Does this step increase performance in the browser. I'm thinking about parsing/evaluating the HTML/CSS code, selector-matching, etc.From all the DOM




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: