京东的首页——小竖线我不会做,直接打上的,还要做直播课的作业,年纪轻轻的我承受着这个年龄不该有的作业

原创 2019-01-19 11:52:25 250
摘要:<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>京东(JD.COM)-正品低价·品质保证</title><!-- 引入外部样式表 --><!-- <link rel="s

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<title>京东(JD.COM)-正品低价·品质保证</title>

<!-- 引入外部样式表 -->

<!-- <link rel="stylesheet" href="css/demo05.css"> -->

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

<style>

/* 清除浏览器自带边距 */

*{

margin: 0;

padding: 0;

}


/* 顶部布局,图片用金色代替 */

.top{

width: 100%;

background: #BE8B4C;

}

/* 顶部内容模拟 */

.top_content{

width: 1200px;

height: 80px;

background: #FEDF63;

margin: 0px auto;

}


.top_content h1{

color: white;

text-align: center;

line-height: 80px;

}


/* 头部布局 */

.header{

/* height: 30px; */

width: 100%;

background: #E3E4E5;

}


.header_content{

width: 1200px;

height: 30px;

/* background: #E3E4E5; */

margin: 0px auto;

}


/* 头部左侧 */

.header_left{

/* background: pink; */

line-height: 30px;

float:left;

margin-left:30px;

}


/* 头部右侧 */

.header_right{

/* background:pink; */

line-height:30px;

float:right;

margin-right: 10px;

}


/* 清除浮动 */

.clear{

clear: both;

}


/* 调整a标签的样式 */

a{

text-decoration: none;

color:#999;

font-size:12px;

}


/* 调整span标签样式 */

span{

font-size: 2px;

color: #999

}


i{

margin:3px;

}


/* 设置鼠标滑过变色 */

.bj:hover{

color:red;

}

</style>

</head>

<body>

<!-- top区 -->

<div class="top">

<div class="top_content">

<h1>京东年货节</h1>

</div>

</div>


<!-- header区     -->

<div class="header">

<div class="header_content">

<!-- 左侧 -->

<div class="header_left">

<a href=""><i class="fa fa-map-marker" style="color:red"></i>北京</a>

</div>

<!-- 右侧 -->

<div class="header_right">

<a href="" class="bj">你好,请登录</a>

<span>|</span>

<a href="" style="color:red">免费注册</a>

<span>|</span>

<a href=""class="bj">我的订单</a>

<span>|</span>

<a href=""class="bj">我的京东<i class="fa fa-angle-down"></i></a>

<span>|</span>

<a href=""class="bj">京东会员</a>

<span>|</span>

<a href="">企业采购<i class="fa fa-angle-down"></i></a>

<span>|</span>

<a href="">客户服务<i class="fa fa-angle-down"></i></a>

<span>|</span>

<a href="">网站导航<i class="fa fa-angle-down"></i></a>

<span>|</span>

<a href="">手机京东</a>


</div>


</div>

<!-- 清除浮动 -->

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

</div>

</body>

</html>


批改老师:灭绝师太批改时间:2019-01-19 13:47:08
老师总结:那就趁年轻多承受一点,毕竟吃的苦中苦方为人上人么,加油!完成的不错!

发布手记

热门词条