基于JS实现bookstore静态页面的实例代码
(编辑:jimmy 日期: 2024/11/17 浏览:3 次 )
先给大家展示下效果图,如果感觉还不错,请参考实现代码:
bookstore静态页面代码如下:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style> #right{ float: right; vertical-align: middle; line-height:50px; margin-right:70px; } #right img{ margin-top:11px; } #right a{ margin-left: -4px; text-decoration: none; font-size: 13px; color: #0066FF; } #right a:hover{ color:#909; } #menu{ padding-top: 6px; border-top:3px solid #82B211; height:40px; background-color: #1C3F09; text-align: center; word-spacing: 13px; } #menu a{ color: white; line-height: 40px; text-decoration: none; font-size: 18px; font-weight: bold; } #menu a:hover{ color: #999; } #menu .all{ color:#FAFA00 } #search{ height: 40px; background-color: #B6B684; text-align: right; } #search span{ line-height: 40px; } #search input{ width: 100px; height: 10px; } .img2{ margin-top: 10px; padding-right: 230px; } #contenttop{ margin: 10px auto; font-size: 13px; width:800px; text-align: right; } #contentbody{ margin:-10px auto; border: 1px solid #999999; width:800px; height:800px; } #contentbodybook{ margin:10px; font-size: 18px; } #contentbodybook label{ font-size: 10px; } #img2{ width:760px; margin-top: 10px; } #contentbodybook table img{ width:120px; height:190px; padding-top:38px; margin-left: 50px; } .bookname td{ padding-left:80px ; font-size: 13px; } #page{ text-align: center; } #page a{ text-decoration: none; font-size: 7px; color: #9AAFE5; border: 1px solid #9AAFE5; padding:2px 6px;/*等同于padding:2px 6px 2px 6px;上右下左*/ } #page a:hover{ color:#2B66A5; border: 1px solid #2B66A5; } #footer{ background: #EFEEDC; height:80px; margin-top: 30px; } #footerleft img{ margin-left: 190px; padding-top: 10px; float: left; } #footerright span{ float: left; font-size: 18px; padding-top: 10px; padding-left: 240px; width: 500px; } </style> </head> <body> <div> <div id="title"> <img id="img1" src="/UploadFiles/2021-04-02/logo.png">以上所述是小编给大家介绍的bookstore静态页面的实现代码,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对网站的支持!
下一篇:angular 动态组件类型详解(四种组件类型)