css选择器优先级_html/css_WEB-ITnose
id选择器优先级 > 类class选择器优先级 > 标签选择器优先级 复制 class 选择器 .inner{ width:100px;}id 选择器 #demo{ width:100px;}标签 选择器 p{ width:100px...
id选择器优先级 > 类class选择器优先级 > 标签选择器优先级 复制 class 选择器 .inner{ width:100px;}id 选择器 #demo{ width:100px;}标签 选择器 p{ width:100px...