鼠标悬浮在缩略图上时,修改缩略图上蒙版的透明度:(:hover和::before)
例如:.slider ul li a:hover::before{}
例如:.slider ul li a:hover::before{}
2015-03-11
最新回答 / Cast1e
老师说了啊 参数n的起始值始终是1,而不是0。也就是说,参数n的值为0时,选择器将选择不到任何匹配的元素。你选择 li:eq(1)肯定显示的就是第一行啊 这个是逻辑排序 不是物理存储 不要学数组学的延续到这里了
2015-03-11
.menuSection p{display:none;}
#brand:target p {
display:block;
background: orange;
color: #fff;
}
#brand:target p {
display:block;
background: orange;
color: #fff;
}
2015-03-11
问题主要是要求第二背景离左边50%,背景高度自己设置
background:url(http://static.mukewang.com/static/img/logo_index.png) no-repeat left top/70% 50%,
url(http://static.mukewang.com/static/img/logo_index.png) no-repeat right bottom/50% 45%;
background:url(http://static.mukewang.com/static/img/logo_index.png) no-repeat left top/70% 50%,
url(http://static.mukewang.com/static/img/logo_index.png) no-repeat right bottom/50% 45%;
2015-03-11