css制作一个漂亮相册,可自己修改样式和自定义图片,当用户的鼠标经过时显示图片,根据自己需求来修改。
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="keywords" content="武鸣人网站,武鸣信息网,武鸣本地网,武鸣信息资源平台,减肥,健身,励志,励志语录,js特效,网页特效,www.wuming.ren"> <meta name="description" content="欢迎来到武鸣人信息资源平台,各种信息免费发布,资源共享合作共赢,分享互联网流行的励志语录经典短句,减肥健身健康小常识及打卡记录,收集各种js特效代码。"> <title>CSS制作漂亮网页相册_武鸣人</title> <meta http-equiv=content-type content="text/html; charset=GB2312"> <style>BODY { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 12px; BACKGROUND: #333333; PADDING-BOTTOM: 0px; MARGIN: 0px; OVERFLOW: hidden; LINE-HEIGHT: 1.7; PADDING-TOP: 0px; FONT-FAMILY: Verdana, "??" } #info { BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: #ffffff 1px solid; MARGIN-TOP: 20px; BACKGROUND: #666666; MARGIN-LEFT: auto; BORDER-LEFT: #ffffff 1px solid; WIDTH: 650px; MARGIN-RIGHT: auto; BORDER-BOTTOM: #ffffff 1px solid; HEIGHT: 450px; TEXT-ALIGN: center } H3 { FONT-SIZE: 12px; MARGIN: 30px 0px 0px; COLOR: #fff } SPAN { VISIBILITY: hidden; OVERFLOW: hidden; POSITION: absolute } UL { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; LIST-STYLE-TYPE: none } LI { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; LIST-STYLE-TYPE: none } A:active { CURSOR: pointer } A:hover { CURSOR: pointer } A:hover SPAN { VISIBILITY: visible; MARGIN-LEFT: -500px; POSITION: absolute; TOP: 90px } A:active SPAN { VISIBILITY: visible; MARGIN-LEFT: -500px; POSITION: absolute; TOP: 90px } #info IMG { BORDER-RIGHT: #ffffff 7px solid; BORDER-TOP: #ffffff 7px solid; BORDER-LEFT: #ffffff 7px solid; WIDTH: 400px; BORDER-BOTTOM: #ffffff 7px solid; HEIGHT: 280px } #zs { MARGIN-TOP: 20px; margin-right:0PX; FLOAT: right; MARGIN-BOTTOM: 50px; OVERFLOW: auto; WIDTH: 140px; HEIGHT: 340px } .z { BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: #ffffff 1px solid; DISPLAY: block; MARGIN: 4px 0px 4px 25px; BORDER-LEFT: #ffffff 1px solid; WIDTH: 80px; COLOR: #fff; BORDER-BOTTOM: #ffffff 1px solid; HEIGHT: 56px } .b1 { BACKGROUND: url(/img/20240307_www_wuming_ren_53w_big.jpg) } .b2 { BACKGROUND: url(/img/20240307_www_wuming_ren_54w_big.jpg) } .b3 { BACKGROUND: url(/img/20240307_www_wuming_ren_55w_big.jpg) } .b4 { BACKGROUND: url(/img/20240307_www_wuming_ren_56w_big.jpg) } .b5 { BACKGROUND: url(/img/20240307_www_wuming_ren_57w_big.jpg) } .b6 { BACKGROUND: url(/img/20240307_www_wuming_ren_53w_big.jpg) } </style> </head> <body> <a href="https://www.wuming.ren">武鸣人</a>,各种信息资源免费发布,分享励志语录经典短句,减肥健身常识,各种js特效代码。网站很好记住,wuming.ren(武鸣拼音.ren域名后缀)<hr> <!--欢迎来到武鸣人信息资源平台,各种信息免费发布,资源共享合作共赢,分享互联网流行的励志语录经典短句,减肥健身健康小常识及打卡记录,收集各种js特效代码。--> <script type="text/javascript" src="https://www.wuming.ren/ad/tc.js"></script> <script type="text/javascript" src="https://www.wuming.ren/ad/a.js"></script> <div id=info> 欢迎来到武鸣人,我们的网址是:www.wuming.ren <div id=zs> <ul> <li><a class="b1 z" title="photo1" href="https://www.wuming.ren" target="_blank"><span><img alt="photo1" src="/img/20240307_www_wuming_ren_53w_big.jpg" style="cursor:pointer;"/><br />1号图片</span></a> <li><a class="b2 z" title="photo2" href="https://www.wuming.ren" target="_blank"><span><img alt="photo2" src="/img/20240307_www_wuming_ren_54w_big.jpg" style="cursor:pointer;"/><br />2号图片</span></a> <li><a class="b3 z" title="photo3" href="https://www.wuming.ren" target="_blank"><span><img alt="photo3" src="/img/20240307_www_wuming_ren_55w_big.jpg" style="cursor:pointer;"/><br />3号图片</span></a> <li><a class="b4 z" title="photo4" href="https://www.wuming.ren" target="_blank"><span><img alt="photo4" src="/img/20240307_www_wuming_ren_56w_big.jpg" style="cursor:pointer;"/><br />4号图片</span></a> <li><a class="b5 z" title="photo5" href="https://www.wuming.ren" target="_blank"><span><img alt="photo5" src="/img/20240307_www_wuming_ren_57w_big.jpg" style="cursor:pointer;"/><br />5号图片</span></a> <li><a class="b6 z" title="photo6" href="https://www.wuming.ren" target="_blank"><span><img alt="photo6" src="/img/20240307_www_wuming_ren_53w_big.jpg" style="cursor:pointer;"/><br />6号图片</span></a> </li> </ul> </div> </div> </body> </html>
本文来自武鸣人网站,转载请注明出处