web前端基础CSS------美化页面“footer”部分

一,实验代码

html 复制代码
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>关于我们</title>
		
		<style type="text/css">
			#footer{
			       margin: 10px 0px;
				   background: #f5f5f5;
				   border: top 1px solid #eee ;
			}
			#footerCon{
				width: 1190px;
				margin: 10px auto 0px;
			}
			#footerCon #links{
				border-bottom: 1px solid #eee;
				overflow: hidden;
				padding-bottom: 20px;
			}
			#footerCon #links dl{
				float: left;
				width: 200px;
				margin-right: 52px;
				overflow: hidden;
			}
			#footerCon #links dl dt{
				color: #646464;
				padding-bottom: 10px;
				font-weight: 700;
				padding-left: 40px;
				font-size: 16px;
				
			}
			#footerCon #links dl dd{
				line-height: 25px;
				
			}
			#footerCon #otherLinks{
				height: 30px;
				line-height: 30px;
				text-align: center;
			}
			#footerCon #copyRight{
				line-height: 30px;
				text-align: center;
			}
			
			a {
				text-decoration: none;
				color: deepskyblue;
			}
			a:hover{
				color: red;
			}
			
			
		</style>
	</head>
	<body>
		<div id="footer">
			<div id="footerCon">
				<div id="links">
				
				<dl>
					<dt>用户指南</dt>
					<dd><a href="guide.html">新手指南</a></dd>
					<dd><a href="memberLevel.html">会员积分</a></dd>
					<dd><a href="#">常见问题</a></dd>
					<dd><a href="feedback.html">反馈调查</a></dd>
				</dl>
				     
					<dl>
						 <dt>品牌服务</dt>
						 <dd><a href="#">闪电配送</a></dd>
						 <dd><a href="#">快捷支付</a></dd>
						 <dd><a href="#">售后保障</a></dd>
					 </dl>
					 
					 <dl>
						 <dt>商家合作</dt>
						 <dd><a href="#">商家对接</a></dd>
						 <dd><a href="#">品牌资质</a></dd>
						 <dd><a href="#">进程流程</a></dd>
					 </dl>
					 
					 <dl>
					 	<dt>关于我们</dt>
					 	<dd><a href="#">平台简介</a></dd>
					 	<dd><a href="#">企业文化</a></dd>
					 	<dd><a href="#">经营模式</a></dd>
						<dd><a href="#">招贤纳士</a></dd>
					 </dl>
				</div>
				
				<div id="otherLinks">
					<a href="#">关于我们</a>
					<a href="#">购物指南</a>
					<a href="#">商家合作</a>
					<a href="#">联系我们</a>
					<a href="#">招贤纳士</a>
					<a href="#">反馈调查</a>
					<a href="#">反馈调查</a>
				</div>
				
				<div id="copyRight">
					Copyright &copy;2016 - 2026 MobileShop 版权所有| 消费者维权热线:
					408888888888
				</div>
			</div>
		</div>
	</body>
</html>

二、实验结果

相关推荐
Csvn8 小时前
Monorepo
前端
Csvn8 小时前
流水线
前端
Csvn8 小时前
微前端架构
前端
Linux-lucky9 小时前
45-Linux学习之旅之防火墙与WEB加固
linux·前端·网络·学习·ubuntu
风骏时光牛马11 小时前
生成一个移动端标题,只需要一个标题,不需要其他的任何文本。
前端
IT_陈寒12 小时前
Redis雪崩把我坑惨了,这是5年经验的教训
前端·人工智能·后端
SameX12 小时前
HarmonyOS ArkUI List 的侧滑删除 用 ListItem 的 swipeAction + endIcon 的做法
前端
usdoc文档预览14 小时前
USDOC系列之PPT文件在线编辑-VUE前端实现在线浏览器在线编辑PPT文档
前端·vue.js·编辑器·office365·ppt在线编辑·office文件在线编辑·文件在线编辑
用户27050777252415 小时前
Agent 调工具卡住?3 种超时与取消策略实测对比
前端
LuHang15 小时前
我一行代码没写,把领导派的活做成了公司内部系统😭
前端