您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

滚动条的简单实现

2024/4/7 8:16:52发布12次查看
本篇文章为大家带来一篇学习小实例--滚动条的简单实现。现在就分享给大家,也给大家做个参考。
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>huanhangtiao</title> <style> a{ width:17px; height:20px; font:12px/20px "宋体"; border:1px solid #e0e1e2; display:inline-block; text-align:center; color: #2052a3; } .shang{ width:64px; } a:hover,.active{ background-color:#1f3a87; color:#fff; } </style> </head> <body> <div class=""> <a class="shang">上一页</a> <a>1</a> <a>2</a> <a class="active">3</a> <a>4</a> <a>5</a> <a>6</a> <a>7</a> <a>8</a> <a>9</a> <a class="shang">下一页</a> </div> </body> </html>
相关推荐:
html页面table滚动条的实现
js有哪些属性可以判断页面是否存在滚动条
原生js如何对多个滚动条同步操作
以上就是滚动条的简单实现的详细内容。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product