类型选择器

避免使用CSS类型选择器。 非必要的情况下不要使用元素标签名和ID或class进行组合。 出于性能上的考虑避免使用父辈节点做选择器 performance reasons。

/* 不推荐 */
ul#example {}
div.error {}
/* 推荐 */
#example {}
.error {}