返回导航布局案例...登陆

导航布局案例

Kevin King2019-06-04 15:40:49147

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>导航布局实战</title>

<style type="text/css">

*{margin: 0px;padding: 0px;}

a{text-decoration: none;color: #000;font-size: 13px;}

.clear{clear: both;}

#box{width: 100%;background-color: #F5F5F5;}

#box1{width: 1200px;margin: 0 auto;line-height: 40px;}

#box1 a:hover{color: #FF5000;}

.left{height: 40px;float: left;}

.left a{margin-right: 5px;}

.right{height: 40px;float: right;}

.right a{margin-right: 5px;}

.a{display: inline-block;height: 40px;width: 90px;text-align: center;}

.a:hover{background-color: #FFF;}

</style>

</head>

<body>

<div id="box">

<div id="box1">

<div class="left">

<a href="" class="a">中国大陆</a>

<a href="" style="color: #FF5000">亲,请登录</a>

<a href="">免费注册</a>

<a href="">手机逛淘宝</a>

</div>

<div class="right">

<a href="" class="a">我的淘宝</a>

<a href="">购物车</a>

<a href="" class="a">收藏夹</a>

<a href="">商品分类</a>

<a href="" class="a">卖家中心</a>

<a href="" class="a">联系客服</a>

<a href="" class="a">网站导航</a>

</div>

</div>

<div class="clear"></div>

</div>

</body>

</html>


最新手记推荐

• 用composer安装thinkphp框架的步骤• 省市区接口说明• 用thinkphp,后台新增栏目• 管理员添加编辑删除• 管理员添加编辑删除

全部回复(0)我要回复

暂无评论~
  • 取消回复发送