背景相关的综合案例:五彩导航 练习价值: 链接属于行内元素,但此时需要设置宽度高度,因此需要模式转换里面的文字需要水平居中和垂直居中,因此需要单行文字垂直居中的代码链接需要设置背景图片,因此需要用到背景相关属性。鼠标经过变化背景图片,因此需要链接伪类选择器