css选择器优先级总结 对于刚开始学习html的童鞋来讲,css选择器的优先级总是傻傻搞不清,其实很简单,总结如下: 优先级总结 标签选择器 < 类选择器 < ID选择器 < 行内样式 < !important