9-3中的CSS样式不太明白
#divtest .content .divPics ul a:hover img
{
border: 5px solid #fff;
border-width: 5px;
color: #fff;
}
#divtest .content .divPics ul a:hover
{
color: #fff;
}
可以解释一下这两段是什么意思吗。此处的样式是作用于#divtest后面所有的元素还是只作用于最后一个元素?那为什么此处这样写就达不到原本的效果呢?
#divtest a:hover img
{
border: 5px solid #fff;
border-width: 5px;
color: #fff;
}请大神解答下,谢谢了。