$('#two~div').css('background-color','#bfa');//two的兄弟 常用
$('.one+div').css('background-color','#bfa');//紧跟在one后的兄弟 常用
$('div:first').css('background-color','#bfa');第一个div
$('div:last').css('background-color','#bfa');最后一个div
$('div:not(.one)').css('background-color','#bfa');//div不是one的
$('div:odd').css('background-color','#bfa');//奇数
$('div:eq(4)').css('background-color','#bfa');//第5个 常用
$('div:gt(3)').css('background-color','#bfa');//大于4
$('div:lt(3)').css('background-color','#bfa');//小于4
$(':header').css('background-color','#bfa');//标题
$('div:contains(test)').css('background-color','#bfa');//文本内容为text的元素
$('div:contains(test)').css('background-color','#bfa');
$('div:empty').css('background-color','#bfa');//不包含子元素或者文本的空元素
$('div:has(.mini)').css('background-color','#bfa');//含有选择器所匹配的元素的父元素
$('.one+div').css('background-color','#bfa');//紧跟在one后的兄弟 常用
$('div:first').css('background-color','#bfa');第一个div
$('div:last').css('background-color','#bfa');最后一个div
$('div:not(.one)').css('background-color','#bfa');//div不是one的
$('div:odd').css('background-color','#bfa');//奇数
$('div:eq(4)').css('background-color','#bfa');//第5个 常用
$('div:gt(3)').css('background-color','#bfa');//大于4
$('div:lt(3)').css('background-color','#bfa');//小于4
$(':header').css('background-color','#bfa');//标题
$('div:contains(test)').css('background-color','#bfa');//文本内容为text的元素
$('div:contains(test)').css('background-color','#bfa');
$('div:empty').css('background-color','#bfa');//不包含子元素或者文本的空元素
$('div:has(.mini)').css('background-color','#bfa');//含有选择器所匹配的元素的父元素
$('div:parent').css('background-color','#bfa');//是父级元素
$('div.one: nthchild(2)')//div是one的第二个儿子