css 滚动transform: translateY(-100px);jquery $(box).height(); //获取元素高度$(box).scrollTop();//得到元素的滚动条高度css