输入banner图图片脚本导航/分类

请问如何实现图片上的效果呢本社区的

回复内容:


    xxxxx
.tips{
    position:fixed;
    display:block;
    bottom:0;
    left:0;
    height:100px;
    width:100%;
    background:#ccc;
    color:#fff;
    z-index:999;
}

使用固定定位

HTML:


    这个是内容

css

.nologin{
    position:fixed; 
    bottom:0;
    left:0;
    height:100px;
    width:100%;
    background:#eee;
    color:#333;
    z-index:999;
    display:none
}

然后隐藏,使用监听滚动事件。当滚动大于你想要的位置就显示该提示曾,否则就隐藏