伪类选择器就是给后代选择器加上过滤条件
某元素的大孩子元素
ul li:first-child{
background:yellow;
}
某元素的小孩子元素
ul li:last-child{
background:bisque;
}
特效点击伪类
a:link {color:#FF0000;} /* 未访问的链接 */
a:visited {color:#00FF00;} /* 已访问的链接 */
a:hover {color:#FF00FF;} /* 鼠标划过链接 */
a:active {color:#0000FF;} /* 已选中的链接 */