选择器 :first :last 举例:div p:first 选中页面中所有p元素的第一个 :first-child :last-child 举例:ul:first-child 所有ul元素中,ul为父元素中第一个子元素的ul