<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>www.jd.com</title>
<!-- <link rel="stylesheet" type="text/css" href="css/style.css"> -->
<style type="text/css">
*{
padding: 0;
margin: 0;
list-style: none;
text-decoration: none;
}
@font-face {
font-family: 'iconfont';
src: url('../../html代碼/iconfont/iconfont.eot'); /* IE9*/
src: url('../../html代碼/iconfont/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../../html代碼/iconfont/iconfont.woff') format('woff'), /* chrome他挎、firefox */
url('../../html代碼/iconfont/iconfont.ttf') format('truetype'), /* chrome劈猪、firefox、opera坑傅、Safari, Android, iOS 4.2+*/
url('../../html代碼/iconfont/iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
}
/* .nva a */
.g1{
background-color: #580000;
width: 100%;
height: 80px;
}
.a{
width: 1200px;
margin: 0 auto;
}
.a img{
height: 80px;
margin: 0 auto;
}
.top_1{
height:30px;
border-bottom: 1px solid #ddd;
background-color:#e3e4e5;
}
.top_2_1{
height: 30px;
width: 1190px;
margin: 0 auto;
}
.top_2_2{
height: 30px;
width: 258px;
float: left;
}
.top_2_3{
width: 44px;
height: 30px;
float: right;
padding-left: 7px;
padding-right: 7px;
}
.top_2_3:hover{
background-color: white;
}
.top_3_1{
height: 30px;
width: 718.11px;
float: right;
}
.top_3_2{
height: 29.6px;
width: 127.11px;
float: left;
margin-right: 8px;
}
.top_3_2 a{
/*display: block;*/
color: #999;
font-size: 12px;
line-height: 30px;
/*float: left;*/
}
.top_3_2 .style-red{
color: #f10215;
left: 7px;
right: 7px;
}
.top_3_2 a:hover{
color: #f10215;
text-decoration: none;
}
/*.top_3_2 .style-red:hover{*/
/*color: #f10215;*/
/*text-decoration: none;*/
/*}*/
.top_3_1 li{
float:left;
}
.top_3_1 li.spacer {
overflow: hidden;
margin: 11px 5px 0;
width: 1px;
height: 10px;
background-color: #ccc;
}
.li_2_1{
overflow: hidden;
margin: 11px 5px 0;
height: 10px;
width: 1px;
color: #999;
}
.tit_1 {
font-family: "iconfont" !important;
font-size: 14px;
font-style: normal;
color: #f10215;
line-height: 30px;
}
.tit_2{
line-height: 30px;
float: right;
color: #999;
font-size: 14px;
}
.contre_1{
width:100%;
height:140px;
background-color: red;
position: relative;
}
.contre_1_2{
width: 190px;
height: 171px;
position: absolute;
left: 165px;
top: -31px;
background-color:white;
}
.center_1_2 img{
line-height: 171px;
outline-width: 190px;
}
.contre_2{
width: 100%;
height: 480px;
background-color: #888888;
margin-bottom: 20px;
}
.contre_3{
width: 100%;
height: 3000px; background-color:blue;
}
.bottom{
width: 100%;
height: 666px;
background: yellow;
}
</style>
</head>
<body>
<div class="g1">
<div class="a">
<img src="img/f425145997173d54320dcbd193617d2.png" style="height: 80px">
</div>
</div>
<div class="top_1" >
<div class="top_2_1">
<div class="top_2_2">
<li class="top_2_3">
<i class="tit_1"></i>
<div class="tit_2">北京</div>
</li>
</div>
<ul class="top_3_1">
<li class="top_3_2">
<a href="#">您好,請(qǐng)登錄</a>
<a href="#" class="style-red">免費(fèi)注冊(cè)</a>
</li>
<li class="spacer">
</li>
</ul>
</div>
</div>
<dir class="contre_1">
<div class="contre_1_2">
<img src="img/jingdong.png" class="">
</div>
</dir>
<div class="contre_2">
</div>
<div class="contre_3">
</div>
<div class="bottom">
</div>
</body>
</html>
項(xiàng)目布局
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
- 文/潘曉璐 我一進(jìn)店門(mén),熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái)久信,“玉大人窖杀,你說(shuō)我怎么就攤上這事∪故浚” “怎么了入客?”我有些...
- 文/不壞的土叔 我叫張陵,是天一觀(guān)的道長(zhǎng)腿椎。 經(jīng)常有香客問(wèn)我痊项,道長(zhǎng),這世上最難降的妖魔是什么酥诽? 我笑而不...
- 正文 為了忘掉前任鞍泉,我火速辦了婚禮,結(jié)果婚禮上肮帐,老公的妹妹穿的比我還像新娘咖驮。我一直安慰自己,他們只是感情好训枢,可當(dāng)我...
- 文/花漫 我一把揭開(kāi)白布托修。 她就那樣靜靜地躺著,像睡著了一般恒界。 火紅的嫁衣襯著肌膚如雪睦刃。 梳的紋絲不亂的頭發(fā)上,一...
- 那天十酣,我揣著相機(jī)與錄音涩拙,去河邊找鬼。 笑死耸采,一個(gè)胖子當(dāng)著我的面吹牛兴泥,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播虾宇,決...
- 文/蒼蘭香墨 我猛地睜開(kāi)眼搓彻,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼!你這毒婦竟也來(lái)了嘱朽?” 一聲冷哼從身側(cè)響起旭贬,我...
- 序言:老撾萬(wàn)榮一對(duì)情侶失蹤,失蹤者是張志新(化名)和其女友劉穎搪泳,沒(méi)想到半個(gè)月后稀轨,有當(dāng)?shù)厝嗽跇?shù)林里發(fā)現(xiàn)了一具尸體,經(jīng)...
- 正文 獨(dú)居荒郊野嶺守林人離奇死亡森书,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
- 正文 我和宋清朗相戀三年靶端,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了谎势。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
- 正文 年R本政府宣布,位于F島的核電站趁蕊,受9級(jí)特大地震影響坞生,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜掷伙,卻給世界環(huán)境...
- 文/蒙蒙 一是己、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧任柜,春花似錦卒废、人聲如沸。這莊子的主人今日做“春日...
- 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)。三九已至宅粥,卻和暖如春参袱,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背秽梅。 一陣腳步聲響...
- 正文 我出身青樓况鸣,卻偏偏與公主長(zhǎng)得像牢贸,于是被迫代替她去往敵國(guó)和親竹观。 傳聞我的和親對(duì)象是個(gè)殘疾皇子,可洞房花燭夜當(dāng)晚...
推薦閱讀更多精彩內(nèi)容
- 一天的時(shí)間一晃而過(guò)潜索,整個(gè)天空籠罩著霧靄之中臭增,陰陰沉沉的,冬日里凜冽的寒風(fēng)像針刺般吹在身上竹习,手腳都變得麻木做起...