本文介绍了(为什么)是CSS星型选择器被认为有害?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
CSS中的星型选择器会影响页面呈现效果吗?
有没有使用它的注意事项?
* {
margin:0;
padding:0;
}
解决方案
Steve Souders是人:
ul>
无耻的报告来自其中一个报告:
[粗体强调我]
does the star selector in CSS affect page rendering performance ?
are there any caveats using it ?
* {
margin:0;
padding:0;
}
解决方案
When it comes to performance, Steve Souders is the man:
Shameless quote from one of the reports:
[bold emphasis mine]
这篇关于(为什么)是CSS星型选择器被认为有害?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!