百度静态页面

过了好久的一个静态页面的切图
写的不怎么好。学的好的希望自动略过。嘻嘻
图片在这里插入图片描述
代码

百度一下你就知道
					<input class="wb" type="text" name="wenben" id="" value="" />
					<input class="tj" type="submit" name="tj" id="" value="百度一下" />
			</form>
		</div>
		<div class="er">
			<img src="img/www.baidu.png" alt=""><br>
			<span>百度</span>
		</div>
	</div>
	<div id="footer">
		<p class="top">
			<a href="#">把百度设为主页</a>
			<a href="#">关于百度</a>
			<a href="#">About Baidu</a>
			<a href="#">百度推广</a>
		</p>
		<p class="bottom">
			2019 Baidu <a href="#">使用前必读</a> <a href="#">意见反馈</a> 京ICP证030173号 &nbsp &nbsp
			<a href="#">京公网安备11000001000001号</a>
			<img src="img" alt="">
		</p>
	</div>
	
	
		
	
</body>
css
*{
	margin: 0;
	padding: 0;
}
#header{
	text-align:right;
	height: 61px;
	line-height: 61px;
	font-size: 14px;
	font-weight: bold;
}
#header a{
	color: black;
	margin-left:20px ;
}
#header a.gengduo{
	display: inline;
	width: 60px;
	height: 24px;
	background: #3388FF;
	margin-right: 10px;
	padding-bottom: 5px;
	text-decoration: none;
}
#bd .logo{
	text-align: center;
	margin-top: 40px;
}
#bd .main{
	
	width: 640px;
	margin: 0 auto;
	margin-bottom: 171px;
}
#bd .main .wb{
	width: 539px;
	height: 40px;
	
	margin-top: 38px;
	border: 1px solid #ccc;
	padding: 0;
}
#bd .main .tj{
	width: 90px;
	height: 40px;
	line-height: 40px;
	background: #3388FF;
	color: #fff;
}
#bd .er{
	text-align: center;
}
#bd .er span{
	font-size: 12px;
}
#footer {
	display: block;
	text-align: center;
	line-height: 24px;
	margin-top: 26px;
	
}
#footer .top a{
	margin-left: 24px;
	color: #999999;
}
#footer .bottom {
	color: #999999;
}
#footer .bottom a{
	color: #999999;
}

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值