百度首页顶部栏

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>百度一下,你就知道</title>
		<link rel="stylesheet" href="font-awesome-4.7.0/css/font-awesome.min.css">  
		<style type="text/css">   /*  link标签的作用是引入font-aewsome图标库 */
			*{
				margin: 0px;
				padding: 0px;
				color: rgb(85,85,85);
			}
			
			.nav{
				height:35px;
				background-color:white;
				font:12px/35px "微软雅黑" ;
				border-bottom: 1px rgb(235,235,235)  solid;
			}
			
			.nav *{
				display: inline-block;
			}
			
			.snav{
				float: right;
			}
			
			.snav a{
				padding-right:20px ;

			}
			
			.snav .bold {
				font-weight: bold;
				
			}
			
			.next2 a{
				padding-left: 8px;
			}
			
			.atom a{
				padding-left: 10px;
				text-decoration: none;
			}
			
			.cao {
				font-weight: bold;    /* 字体加粗 */  
				color: rgb(85,85,85);
				padding-left: 5px;
			}
			
			.atom p{
				font-weight: bold;    /* 字体加粗 */
				color: greenyellow;
				padding:0px  5px;
			}
		</style>
	</head>
	<body>
		
		<div class="nav">
			<div class="atom">
				<a href='#'>徐州:12    °C <i class="fa fa-sun-o"></i> <p>轻度</p>104 </a> /*这里导入图标*/  
			</div>
			
			<p class='cao'>|</p>
			
			<div class="next1">
				<a href="#">换肤 </a>
			</div>
			<div class="next2">
				<a href="#"> 消息</a>
			</div>
			<div class="snav">
				<a href="#" class='bold'>新闻</a>
				<a href="#" class='bold'>hao123</a>
				<a href="#" class='bold'>视频</a>
				<a href="#" class='bold'>地图</a>
				<a href="#" class='bold'>学术</a>
				<a href="#" class='bold'>贴吧</a>
				<a href="#">181******36</a>
				<a href="#">设置</a>
				<img src="img/HBuilder.png"  height="20px" />
			</div>
		</div>
		
	</body>
</html>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值