day21作業(yè)

html頁面

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>京東-歡迎登錄</title>
        <!--設(shè)置網(wǎng)頁圖標(biāo)
            rel:icon(設(shè)置圖標(biāo))
            type:文件類型  image/x-ico(X代表未知)
            href:鏈接地址
        -->
        <link rel="icon" type="image/x-ico" href="img/bb.ico"/>
        <link rel="stylesheet" type="text/css" href="css/jingd.css"/>
        
        
        
        
    </head>
    <body>
        <!--=====1将鸵、頂部=====-->
        <div id="header">
            <div class="h-top">
                <!--圖標(biāo)部分-->
                <div class="icon">
                    <img src="img/logo.png"/>
                    <img src="img/l-icon.png"/>
                </div>
                
                <!--問卷-->
                <a  target="_blank">登錄頁面幕庐,調(diào)查問卷</a>
                
            </div>
            <!--下面的文字-->
            
            <div class="h-bottom">
                <div id="">
                    <img src="img/warning.png"/>
                    <p>依據(jù)《網(wǎng)絡(luò)安全法》剩蟀,為保障您的賬戶安全和正常使用,請盡快完成手機號驗證! 新版<a >《京東隱私政策》</a>已上線,將更有利于保護您的個人隱私。</p>
                </div>
                
            </div>
        </div>
        
        <!--=====2、中間內(nèi)容=====-->
        <div id="content">
            <div class="input_div">
                <div class="info-top">
                    <div class="top-top">
                        <img src="img/warning.png"/>
                        <p>京東不會以任何理由要求您轉(zhuǎn)賬匯款胞谈,謹(jǐn)防詐騙。</p>
                    </div>
                    <div class="top-bottom">
                        <button >掃碼登錄</button>|
                        <button>賬號登錄</button>
                    </div>
                </div>
                
                <!--輸入框模塊-->
                <div class="info-middle">
                    <div class="username">
                        <img src="img/pygame.png"/>
                        <input type="text" name="username" id="" value="" placeholder="郵箱/用戶名/已驗證手機" />
                    </div>
                    <div class="password">
                        <img src="img/password_icon.png"/>
                        <input type="password" name="password" id="" value="" placeholder="密碼" />
                    
                    </div>
                    
                    <!--忘記密碼-->
                    <a >忘記密碼</a>
                    
                    <button id="log">登  錄</button>
                    
                </div>
                
                <div class="info-bottom">
                    <!--<ul>
                        <li class="qq"><a href="">QQ</a></li>
                        <li class="wx"><a href="">微信</a></li>
                    </ul>-->
                    
                    <div class="login">
                        <img src="img/qq.png"/> <a href="">QQ</a> | 
                        <img src="img/weixin.png"/><a href="">微信</a>
                    </div>
                    
                    <div class="logon">
                        <img src="img/right.png"/>
                        <p ><a ><font color="red">立即注冊</font></a></p>
                    </div>
                    
                </div>
            </div>
            
            
        </div>
        
        
        <!--=====3憨愉、底部=====-->
        <div id="footer">
            <div class="other"> 
                <a  class="about">關(guān)于我們</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; 
                <a  class="call">聯(lián)系我們</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; 
                <a  class="people">人才招聘</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; 
                <a  class="peo">商家入駐</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp; &nbsp;&nbsp;&nbsp;
                <a  class="tall">廣告服務(wù)</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp; &nbsp;&nbsp;&nbsp;
                <a  class="phone">手機京東</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <a  class="friend">友情鏈接</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp; &nbsp;&nbsp;&nbsp;
                <a  class="shop">銷售聯(lián)盟</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp; &nbsp;&nbsp;&nbsp;
                <a  class="club">京東社區(qū)</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; 
                <a  class="love">京東公益</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp; &nbsp;&nbsp;&nbsp;
                <a  class="english">English Site</a> 
            </div> 
            <div class="versions"> 
                <span>Copyright ? 2004-2018 京東JD.com 版權(quán)所有</span> 
            </div> 
    
        </div>
    </body>
</html>

#css
/*=====0烦绳、通用=====*/
*{
    margin: 0;
    padding: 0;
    position: relative;
}
a{
    text-decoration: none;
}
/*=====1、header=====*/
#header{
    width: 100%;
    height: 150px;
    background-color: white;
}

#header .h-top{
    width: 100%;
    height: 100px;
    
}

#header .h-top .icon{
    height: 60px;
    position: absolute;
    
    /*垂直居中*/
    left: 150px;
    top: 50%;
    line-height: 60px;
    margin: -30px 0 0;
    
}

#header .h-top a{
    /*布局*/
    position: absolute;
    right: 40px;
    bottom: 10px;
    
    /*字體*/
    font-size: 12px;
    color: rgb(153,153,153);
    
    /*背景圖*/
    background: url(../img/q-icon.png) no-repeat 0 center;
    padding-left:  20px;
}

#header .h-top a:hover{
    color: red;
    text-decoration: underline;
}

#header .h-bottom{
    width: 100%;
    height: 50px;
    background-color: rgb(255,248,240);
    
    text-align: center;
}

#header .h-bottom div,.top-top{
    
    display: inline;
    
    
}

#header .h-bottom div p,.top-top p{
    font-size: 12px;
    color: rgb(153,153,153);
    
    display: inline;
}

#header .h-bottom div img,.top-top img{
    top: 8px;
}

/*用背景圖*/
/*#header .h-bottom p{
    text-align: center;
    height: 50px;
    line-height: 50px;
    
    font-size: 12px;
    color: rgb(153,153,153);
    
    background: url(../img/warning.png) no-repeat 230px center;
}*/

#header .h-bottom p a{
    color: rgb(40,40,40);
}

#header .h-bottom p a:hover{
    text-decoration: underline;
}




/*=====2配紫、content=====*/
#content{
    width: 100%;
    height: 520px;
    
    background: url(../img/ba.png) no-repeat 20% center;
    background-color: rgb(11,142,212);

}

#content .input_div{
    width: 344px;
    height: 438px;
    background-color: wheat;
    
    position: absolute;
    right: 160px;
    top:10px;
}

#content .input_div .info-top{
    height: 100px;
    background-color: rgb(255,248,240);
    
    text-align: center;
}

#content .input_div .info-top .top-bottom{
    background-color: white;
    height: 55px;
    
    position: absolute;
    width: 100%;
    top: 45px;
    
    /*設(shè)置中間豎線的顏色*/
    color: rgb(200,200,200);
    
    border-bottom:1px solid rgb(200,200,200);
}

#content .input_div .info-top .top-bottom button{
    width: 160px;
    height: 55px;
    
    border: 0;
    background-color:rgba(0,0,0,0);
    
    font-size: 20px;
    color: rgb(53,53,53);
}

#content .input_div .info-top .top-bottom button:hover{
    color: red;
}

#content .input_div .info-top .top-bottom button:focus{
    color: red;
    
    /*按鈕和輸入框成為焦點后默認(rèn)的邊框径密,是outline*/
    outline: none;
}

#content .input_div .info-middle{
    height: 288px;
    
    background-color: white;
    border-top: 1px solid rgb(200,200,200);
    border-bottom: 1px solid rgb(200,200,200);
}

/*用戶名和密碼*/
#content .input_div .info-middle .username,#content .input_div .info-middle .password{
    background-color: white;
    width: auto;
    height: 50px;
    
    position: absolute;
    left: 20px;
    right: 20px;
    top: 40px;
    
    border:1px solid rgb(180,180,180) ;
}

#content .input_div .info-middle .password{
    top: 110px;
}

#content .input_div .info-middle img{
    float: left;
    
    height: 100%;
    border:1px solid rgb(180,180,180)
}

#content .input_div .info-middle input{
    border: 0;
    
    float: left;
    height: 100%;
    width: auto;
    
    padding-left:10px ;
}

#content .input_div .info-middle input:focus{
    outline: none;
}


/*忘記密碼*/
#content .input_div .info-middle a{
    position: absolute;
    top: 180px;
    right: 20px;
    
    font-size: 12px;
    color: rgb(220,220,220);
}

#content .input_div .info-middle a:hover,.about:hover,.call:hover,.club:hover,.english:hover,.friend:hover,.love:hover,.peo:hover,.people:hover,.phone:hover,.shop:hover,.tall:hover{
    color: red;
    text-decoration: underline;
}

#content .info-middle #log{
    background-color: red;
    font-size: 20px;
    
    letter-spacing: 23px;
    height: 55px;
    width: 89%;
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 30px;
}


#content .info-middle #log:focus{
    color: yellow;
    outline: none;
}


#content .input_div .info-bottom{
    height: 50px;
    background-color: white;
    
    /*text-align: center;*/
}

/*
 * 用列表調(diào)了半天感覺效果很勉強
 * #content .input_div .info-bottom ul{
    float: left;
    list-style-position: initial;
    list-style-type: circle;
}

#content .input_div .info-bottom .qq{
    list-style-image: url(../img/qq.png);

    position: absolute;
    left: 30px;
    top: 10px;
}

#content .input_div .info-bottom .wx{
    list-style-image: url(../img/weixin.png);

    position: absolute;
    left: 100px;
    top: 10px;
}*/


/*設(shè)置注冊按鈕*/
#content .input_div .info-bottom div {  
    top: 8px;
    /*left: 111px;*/
    display: inline;
}

#content .input_div .info-bottom .login{
    position: absolute;
    left: 12px;
}
#content .input_div .info-bottom .logon{
    /*position: absolute;*/
    left: 233px;
}

#content .input_div .info-bottom div p {
    color: red;
    display: inline;
    
}


#content .input_div .info-bottom div p:hover{
    color: red;
    text-decoration: underline;
}

#content .input_div .info-bottom div img{
    top:6px 
}

/*=====3、footer=====*/
#footer{
    width: 100%;
    height: 111px;
    background-color: white;
    
    color: rgb(153,153,153);
    font-size: 12px;
    
    text-align: center;
    top: 5px;
}
#footer .versions{
    top: 5px;
}

#footer .other a{
    font-size: 12px;
    color: rgb(220,220,220);
}
QQ截圖20190515195059.png
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末躺孝,一起剝皮案震驚了整個濱河市享扔,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌植袍,老刑警劉巖惧眠,帶你破解...
    沈念sama閱讀 221,635評論 6 515
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場離奇詭異于个,居然都是意外死亡氛魁,警方通過查閱死者的電腦和手機,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 94,543評論 3 399
  • 文/潘曉璐 我一進店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來秀存,“玉大人捶码,你說我怎么就攤上這事』蛄矗” “怎么了宙项?”我有些...
    開封第一講書人閱讀 168,083評論 0 360
  • 文/不壞的土叔 我叫張陵,是天一觀的道長株扛。 經(jīng)常有香客問我,道長汇荐,這世上最難降的妖魔是什么洞就? 我笑而不...
    開封第一講書人閱讀 59,640評論 1 296
  • 正文 為了忘掉前任,我火速辦了婚禮掀淘,結(jié)果婚禮上旬蟋,老公的妹妹穿的比我還像新娘。我一直安慰自己革娄,他們只是感情好倾贰,可當(dāng)我...
    茶點故事閱讀 68,640評論 6 397
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著拦惋,像睡著了一般匆浙。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上厕妖,一...
    開封第一講書人閱讀 52,262評論 1 308
  • 那天首尼,我揣著相機與錄音,去河邊找鬼言秸。 笑死软能,一個胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的举畸。 我是一名探鬼主播查排,決...
    沈念sama閱讀 40,833評論 3 421
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼抄沮!你這毒婦竟也來了跋核?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 39,736評論 0 276
  • 序言:老撾萬榮一對情侶失蹤合是,失蹤者是張志新(化名)和其女友劉穎了罪,沒想到半個月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體聪全,經(jīng)...
    沈念sama閱讀 46,280評論 1 319
  • 正文 獨居荒郊野嶺守林人離奇死亡泊藕,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 38,369評論 3 340
  • 正文 我和宋清朗相戀三年,在試婚紗的時候發(fā)現(xiàn)自己被綠了。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片娃圆。...
    茶點故事閱讀 40,503評論 1 352
  • 序言:一個原本活蹦亂跳的男人離奇死亡玫锋,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出讼呢,到底是詐尸還是另有隱情撩鹿,我是刑警寧澤,帶...
    沈念sama閱讀 36,185評論 5 350
  • 正文 年R本政府宣布悦屏,位于F島的核電站节沦,受9級特大地震影響,放射性物質(zhì)發(fā)生泄漏础爬。R本人自食惡果不足惜甫贯,卻給世界環(huán)境...
    茶點故事閱讀 41,870評論 3 333
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望看蚜。 院中可真熱鬧叫搁,春花似錦、人聲如沸供炎。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,340評論 0 24
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽音诫。三九已至惨奕,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間纽竣,已是汗流浹背墓贿。 一陣腳步聲響...
    開封第一講書人閱讀 33,460評論 1 272
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留蜓氨,地道東北人聋袋。 一個月前我還...
    沈念sama閱讀 48,909評論 3 376
  • 正文 我出身青樓,卻偏偏與公主長得像穴吹,于是被迫代替她去往敵國和親幽勒。 傳聞我的和親對象是個殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點故事閱讀 45,512評論 2 359

推薦閱讀更多精彩內(nèi)容

  • <!DOCTYPE html> 個人簡歷 學(xué)院 電子科技大學(xué) 專業(yè) 電氣工程...
    Heyjoky閱讀 197評論 0 0
  • 1港令、通過HTML創(chuàng)建一個個人簡歷模板 結(jié)果:
    d4lx閱讀 160評論 0 0
  • 10.2號作業(yè) 一啥容、做一份可以對外輸出的課程文字稿 課程題目:做淘客,如何在七線小城月入過萬顷霹? 課程分為5部分: ...
    木月電影閱讀 287評論 0 1
  • 縱有萬般不舍咪惠,時間還是走到了今天,陌路知音小伙伴們畢業(yè)的日子淋淀。21天遥昧,在人生的長河中也許就是那么一瞬間,但是我卻感...
    lilycat閱讀 181評論 0 0
  • 宮斗劇一直是近年來影視節(jié)目類的熱門,這類故事片具備硬件投入低炭臭,產(chǎn)出快永脓,利潤高的特點,很受影視公司的歡迎鞋仍,一部電視劇...
    牛在看你閱讀 283評論 0 2