返回仿制php.c......登陆

仿制php.cn的导航

杨雪~2019-01-31 22:46:17225



<!DOCTYLE html>


<html>


<head>


<meta charset="utf-8">

<link rel="stylesheet" type="text/css" href="css/font-awesome-4.7.0/css/font-awesome.min.css">

<title>导航条</title>

<style>

.header{width:100%;background-color:black;line-height:70px;}

.header-left{width:1200px;height:70px;float:left;}

.header-right{width:200px;height:70px;float:right;}

.clear{clear:both;}

a{text-decoration:none;color:#fff;margin-left:4px;}

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

.header img{display:inline-block;}

.img1{ width:70px;height:70px;border-radius:50%;}

a:hover{color:red;border-bottom:5px solid green;}


</style>


</head>


<body>


<div class="header">


<div class="header-left">

  <img src="img/logo.png" alt="hello" style="width:160px;height:70px;">

<a href="#">首页</a>

<a href="#">视频教程<i class=" fa fa-angle-down"></i></a>

<a href="#">社区问答</a>

<a href="#">编程词典</a>

<a href="#">手册下载</a>

<a href="#">工具下载</a>

<a href="#">类库下载</a>

<a href="#">工具下载</a>

<a href="#">特色课程</a>

<a href="#">菜鸟学堂</a>

</div>

<div class="header-right">

  <a href="#"><i class=" fa fa-volume-up"></i></a>

  <img class="img1" src="img/logo.png" alt="hello"/>


</div>

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

</div>

</body>



</html>


最新手记推荐

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

全部回复(0)我要回复

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