本文实例讲述了jQuery实现的文字逐行向上间歇滚动效果。分享给大家供大家参考,具体如下:
运行效果图如下:
具体代码如下:
www.jb51.net jQuery文字逐行向上滚动代码 *{ margin:0px; padding:0px; font-family:'微软雅黑'; -webkit-tap-highlight-color:rgba(0,0,0,0); } li{ list-style:none } img{ border:none} a{text-decoration:none;} .Top_Record{} .record_Top{width:90%; height:50px; text-align:center; line-height:50px; margin:30px auto 0px; color:#000;} .topRec_List dl,.maquee{ width:90%; overflow:hidden; margin:0 auto; color:#7C7C7C} .topRec_List dd{ float:left; text-align:center; border-bottom:1px solid #1B96EE; color:#1B96EE;} .topRec_List dl dd:nth-child(1){ width:17%; height:40px; line-height:40px; } .topRec_List dl dd:nth-child(2){ width:18%; height:40px; line-height:40px; } .topRec_List dl dd:nth-child(3){ width:25%; height:40px; line-height:40px; } .topRec_List dl dd:nth-child(4){ width:40%; height:40px; line-height:40px; } .maquee{ height:195px;} .topRec_List ul{ width:100%; height:195px;} .topRec_List li{ width:100%; height:38px; line-height:38px; text-align:center; font-size:12px; border-bottom: 1px dashed #aaa;} .topRec_List li div{ float:left;} .topRec_List li div:nth-child(1){ width:17%;} .topRec_List li div:nth-child(2){ width:18%;} .topRec_List li div:nth-child(3){ width:25%;} .topRec_List li div:nth-child(4){ width:40%;} .apple a{display:block; text-decoration:none;} .apple,.aa{ width:90%; height:50px; overflow:hidden; margin:30px auto; border:1px solid #1B96EE;} .apple a,.aa a{ width:100%; height:50px; line-height:50px; text-indent:20px; color:#1B96EE;} .aa {word-wrap:break-word;line-height:50px; color:#1B96EE;} 摇奖排行榜
- 编号
- 姓名
- 奖项
- 时间
- 1 王** 中了30元 2014/12/30 14:20
- 2 王** 中了30元 2014/12/30 14:20
- 3 王** 中了30元 2014/12/30 14:20
- 4 王** 中了30元 2014/12/30 14:20
- 5 王** 中了30元 2014/12/30 14:20
- 6 王** 中了30元 2014/12/30 14:20
- 7 王** 中了30元 2014/12/30 14:20
- 8 王** 中了30元 2014/12/30 14:20
更多关于jQuery相关内容感兴趣的读者可查看本站专题:《jQuery切换特效与技巧总结》、《jQuery拖拽特效与技巧总结》、《jQuery扩展技巧总结》、《jQuery常见经典特效汇总》、《jQuery动画与特效用法总结》、《jquery选择器用法总结》及《jQuery常用插件及用法总结》
希望本文所述对大家jQuery程序设计有所帮助。



