关于向上移动的问题,如果不给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;
}
加之后的代码