最佳答案
正是你要找的是DEMO … http://jsfiddle.net/yznnJ/
原文链接:https://www.f2er.com/css/427149.html教程和作者页面在这里… http://viget.com/inspire/jquery-stick-em
CSS
.stickem-container {
position: relative;
}
.stickit {
margin-left: 660px;
position: fixed;
top: 0;
}
.stickit-end {
bottom: 0;
position: absolute;
right: 0;
}
JQUERY
$(document).ready(function() {
$('.container').stickem();
});