讲解中的表格关于选择器的表述也有问题啊:$(":nth-child")应为$(":nth-child(n)"),:nth-last-child同样应为:nth-last-child(n)
2016-04-11
$("div > p")不是选择所有div下的第一个p元素,而是所有div下的第一层所有的p元素(有可能是多个p)!!
2016-04-10
$("input:text").css( ); 简写成: $(":text").css( )
2016-04-03