.wrapper span{}中为神马要加display:block;我也想知道。块级元素才能用旋转吗
2015-01-28
任务是 div.wrapper中的第一个 div 元素做设置 正确的应该是:.wrapper >div:first-of-type {
background: orange;
}
background: orange;
}
2015-01-28
/*删除第一项和最后一项导航分隔线*/
.nav li:last-child:after{
width:0px;
height:0px;
}
.nav li:last-child:after{
width:0px;
height:0px;
}
2015-01-27
/*使用伪元素制作导航列表项分隔线*/
.nav li:after{
content:"";
position:absolute;
top:17px;
right:0px;
width:1px;
height:15px;
background:linear-gradient(to bottom, #f82f87,#B0363F,#f82f87);
}
.nav li:after{
content:"";
position:absolute;
top:17px;
right:0px;
width:1px;
height:15px;
background:linear-gradient(to bottom, #f82f87,#B0363F,#f82f87);
}
2015-01-27
已采纳回答 / chuanwei
img.bg { min-height: 100%; min-width: 1024px; width: 100%; height: auto !important; height: 100%; position: fixed; top: 0; left: 0; z-index:1; }...
2015-01-27
错了,X轴偏移正值时向右偏移,Y轴偏移正值时却向下偏移,有点违反常理啊,总感觉应该向上偏移。。。
2015-01-27