新飞梦
2015-05-14 11:33
关于向上移动的问题,如果不给st-panel加上边框,则向上移动-100%时,没有达到预期的效果
上面总是有一个很大的空隙,
加边框之前的代码::
.st-scroll,
.st-panel
{
width:100%;
height:100%;
position:relative;
left:0px;
top:0px;
}
但是加上border之后就正常了
.st-scroll,
.st-panel
{
width:100%;
height:100%;
position:relative;
left:0px;
top:0px;
border:1px solid red;
}
加之后的代码
还没有人回答问题,可以看看其他问题
css3实现网页平滑过渡效果
54370 学习 · 391 问题
相似问题