交集选择器 p.tesu{ } 是个P标签,同时身上也有.tesu这个属性
*{margin: 0; padding:0;}
后代选择器(descendant selector)
后代选择器 descendant selector
ul li{} ul的后代li
ul li a{} ul的孙子a
ctrl+T 环绕标签操作
分组选择器 ul,li,a{ }
交集选择器 p.tesu{ } 是个P标签,同时身上也有.tesu这个属性
*{margin: 0; padding:0;}
后代选择器(descendant selector)
后代选择器 descendant selector
ul li{} ul的后代li
ul li a{} ul的孙子a
ctrl+T 环绕标签操作
分组选择器 ul,li,a{ }