2-網(wǎng)易注冊靜態(tài)界面搭建

這是初期學(xué)習(xí)html和css的時(shí)候自己寫的一個(gè)界面,當(dāng)時(shí)做出來之后很有成就感惫确,故在此紀(jì)念一下(代碼冗余度很高R匮拧)

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>網(wǎng)易注冊界面</title>
    <style>
        body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td
        {
            margin:0;
            padding:0
        }
        body{
            background-color: #f8f8f8;
        }
        a{
            text-decoration: none;
            font-size: 12px;
            line-height: 27px;
            color: #989898;
        }
        /*頭部*/
        .header{
            width: 960px;
            height: 77px;
            /*background-color: red;*/
            margin: 0 auto;
            padding-top:27px;
            box-sizing: border-box;
        }
        .header .logo{
            width: 644px;
            height: 27px;
            float: left;
            background: url("images/glb.png") no-repeat 0 0;
        }
        .header .logo a{
            /*display: inline-block;*/
            float: left;
            width: 130px;
            height: 27px;
        }
        .header .links{
            width: 200px;
            height: 27px;
            float: right;
            text-align: right;
            color: #989898;

        }
        /*內(nèi)容*/
        .content{
            box-sizing:border-box;
            width: 960px;
            /*height: 600px;*/
            height: 700px;
            margin: 0 auto;
            overflow: hidden;
        }
        .content .top{
            box-sizing: border-box;
            width: 960px;
            height: 38px;
            background: url("images/topcenter.png") repeat-x 0 0;
        }


        .content .left{
            width: 960px;
            height: 38px;
            background: url("images/topleft.png") no-repeat left 0;

        }
        .content .right{
            width: 960px;
            height: 38px;
            background: url("images/topright.png") no-repeat right 0;
        }
        .content .top h1{
            font-family:"微軟雅黑";
            font-size: 14px;
            line-height:38px;
            color: #ffffff;
            margin-left:20px;
        }
        .content .bottom{
            box-sizing: border-box;
            width: 960px;
            height: 662px;
        }
        /*內(nèi)容左側(cè)注冊界面*/
        .content .bottom .contentBL{
            width: 642px;
            height: 662px;
            box-sizing: border-box;
            /*border-right: 2px solid #cbcbcb;*/
            border-left: 1px solid #cbcbcb;
            border-right: 1px solid #cbcbcb;
            border-bottom: 1px solid #cbcbcb;
            background-color: #fff;
            float: left;
            padding-top:50px;
            padding-left: 80px;
        }
        .content .bottom .contentBL .contentBLTop{
            width: 560px;
            height: 60px;
        }
        .content .bottom .contentBL .contentBLTop ul{
            width: 412px;
            height: 34px;
            background: url("images/tab.jpg") no-repeat left 0;
        }
        .content .bottom .contentBL .contentBLTop ul li{
            list-style: none;
            float: left;
            line-height: 34px;
            text-align: center;
            width: 137px;
            height: 34px;
            color: #555;
            font-size: 14px;
        }
        .content .bottom .contentBL .contentBLBottom{
            width: 560px;
            height: 551px;
            /*background-color: green;*/
        }
        .content .bottom .contentBL .contentBLBottom .line{
            width: 413px;
            height: 60px;
        }

        .content .bottom .contentBL .contentBLBottom .line span{
            width: 60px;
            height: 28px;
            float: left;
            font-size: 13px;
            line-height: 28px;
            text-align: right;
        }
        .content .bottom .contentBL .contentBLBottom .line div input{
            width: 212px;
            height: 28px;
            float: left;
            color: #555;
            font-size: 14px;
        }
        .content .bottom .contentBL .contentBLBottom .line div select{
            width: 100px;
            height: 32px;
            float: right;
        }
        .content .bottom .contentBL .contentBLBottom .line p{
            font-size: 12px;
            color: #555;
            /*text-align: center;*/
            /*line-height: 28px;*/
        }
        .content .bottom .contentBL .contentBLBottom .line .name::before{
            content: '*';
            color: red;
        }
        .content .bottom .contentBL .contentBLBottom .line div{
            width: 333px;
            height: 28px;
            line-height: 28px;
            box-sizing: border-box;
            float: right;
        }
        .content .bottom .contentBL .contentBLBottom .line div .init{
            width: 329px;
            height: 28px;
        }
        .content .bottom .contentBL .contentBLBottom .line div .yan{
            width: 202px;
            float: left;
        }
        .content .bottom .contentBL .contentBLBottom .line div .pic{
            width: 110px;
            font-size: 12px;
            float: right;
        }
        .content .bottom .contentBL .contentBLBottom .line div .pic img{
            width: 110px;
            /*display: block;*/
        }

        .content .bottom .contentBL .contentBLBottom .bt{
            width: 140px;
            height: 30px;
            margin-left: 80px;
            margin-bottom:10px;
            margin-top: 10px;
        }
        .content .bottom .contentBL .contentBLBottom .agree{
            font-size: 12px;
            color: #555;
            line-height:20px;
            margin-top: 10px;
            margin-bottom: 10px;
            margin-left:80px;

        }
        .content .bottom .contentBL .contentBLBottom input[type="submit"]{
            width: 119px;
            height: 37px;
            background: url("images/glb.png") no-repeat -144px -360px;
            border:none;
            font-size: 20px;
            color: white;
            margin-left: 80px;
        }
        /*內(nèi)容右側(cè)廣告界面*/
        .content .bottom .contentBR{
            width: 318px;
            height: 662px;
            background-color: #f4f4f4;
            float: right;
            border-left: 1px solid #cbcbcb;
            border-right: 1px solid #cbcbcb;
            border-bottom: 1px solid #cbcbcb;
            box-sizing: border-box;
            padding-top: 105px;
            padding-left: 45px;
        }
        /*底部*/
        .footer{
            width: 960px;
            height: 48px;
            margin: 0 auto;
            color: #999;
            font-family:Verdana;
            font-size: 12px;
            text-align: center;
        }
        .footer a{
            color: #999;
            text-decoration: none;
        }
        .footer .pp{
            display: inline;
            line-height: 48px;
        }
    </style>
</head>
<body>
    <!--頭部-->
    <div class="header">
        <div class="logo">
            <a href="#" title="網(wǎng)易163免費(fèi)郵"></a><a href="#" title="網(wǎng)易126免費(fèi)郵"></a><a href="#" title="網(wǎng)易Yeah.net免費(fèi)郵"></a>
        </div>
        <div class="links">
            <a href="#">了解更多</a>
            |
            <a href="#">反饋意見</a>
        </div>
    </div>
    <!--內(nèi)容-->
    <div class="content">
        <div class="top">
            <div class="left">
                <div class="right">
                    <h1>歡迎注冊無限容量的網(wǎng)易郵箱定躏!郵件地址可以登錄使用其他網(wǎng)易旗下產(chǎn)品痒留。</h1>
                </div>
            </div>
        </div>
        <!--注冊-->
        <div class="bottom">
            <div class="contentBL">
               <div class="contentBLTop">
                   <ul>
                       <li>注冊字母郵箱</li>
                       <li>注冊手機(jī)號碼郵箱</li>
                       <li>注冊VIP郵箱</li>
                   </ul>
               </div>
               <div class="contentBLBottom">
                   <div class="line">
                       <span class="name">郵件地址</span>
                       <div>
                           <input type="text" value="建議用手機(jī)號碼注冊">@<select>
                               <option value="163.com">163.com</option>
                               <option value="126.com">126.com</option>
                               <option value="yeah.net">yeah.net</option>
                           </select>
                           <p>6~18個(gè)字符,可使用字母听哭、數(shù)字慢洋、下劃線,需以字母開頭</p>
                       </div>
                   </div>
                   <div class="line">
                       <span class="name">密碼</span>
                       <div>
                           <input  class="init" type="password">
                           <p>6~16個(gè)字符陆盘,區(qū)分大小寫</p>
                       </div>
                   </div>
                   <div class="line">
                       <span class="name">確認(rèn)密碼</span>
                       <div>
                           <input  class="init" type="password">
                           <p>請?jiān)俅翁顚懨艽a</p>
                       </div>
                   </div>
                   <div class="line">
                       <span class="name">手機(jī)號碼</span>
                       <div>
                           <input  class="init" type="text" value="+86-">
                           <p>忘記密碼時(shí)且警,可以通過該手機(jī)號碼快速找回密碼</p>
                       </div>
                   </div>
                   <div class="line">
                       <span class="name">驗(yàn)證碼</span>
                       <div>
                           <div class="yan">
                               <input type="text">
                               <p>請?zhí)顚憟D片中的字符,不區(qū)分大小寫</p>

                           </div>
                           <div class="pic">
                               ![](images/call.jpg)
                               <a href="#">看不清楚礁遣?換張圖片</a>
                           </div>

                       </div>
                   </div>
                   <button class="bt">免費(fèi)獲取驗(yàn)證碼</button>
                   <div class="line">
                       <span class="name">短信碼</span>
                       <div>
                           <input type="text" class="init">
                           <p>請查收手機(jī)短信,并填寫短信中的驗(yàn)證碼</p>
                       </div>
                   </div>
                   <div class="agree">
                       <p>
                           <input type="checkbox" checked="checked">
                           同意<a href="#">"服務(wù)條款"</a>和<a href="#">"隱私權(quán)相關(guān)政策"</a></p>
                   </div>
                   <div class="sub">
                       <input type="submit" value="立即注冊">
                   </div>
               </div>
            </div>
            <!--右邊二維碼-->
            <div class="contentBR">
                ![](images/app.jpg)
            </div>
        </div>
    </div>
    <div class="footer">
        <a href="#">關(guān)于網(wǎng)易</a>
        <a href="#">關(guān)于網(wǎng)易免費(fèi)郵</a>
        <a href="#">郵箱官方博客</a>
        <a href="#">客戶服務(wù)</a>
        <a href="#">隱私政策</a>
        <div class="pp">|</div>
        <div class="pp">網(wǎng)易公司版權(quán)所有 ? 1997-2016</div>
    </div>
</body>
</html>
網(wǎng)易注冊界面.png
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末肩刃,一起剝皮案震驚了整個(gè)濱河市祟霍,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌盈包,老刑警劉巖沸呐,帶你破解...
    沈念sama閱讀 218,941評論 6 508
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場離奇詭異呢燥,居然都是意外死亡崭添,警方通過查閱死者的電腦和手機(jī),發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,397評論 3 395
  • 文/潘曉璐 我一進(jìn)店門叛氨,熙熙樓的掌柜王于貴愁眉苦臉地迎上來呼渣,“玉大人,你說我怎么就攤上這事寞埠∑ㄖ茫” “怎么了?”我有些...
    開封第一講書人閱讀 165,345評論 0 356
  • 文/不壞的土叔 我叫張陵仁连,是天一觀的道長蓝角。 經(jīng)常有香客問我,道長饭冬,這世上最難降的妖魔是什么使鹅? 我笑而不...
    開封第一講書人閱讀 58,851評論 1 295
  • 正文 為了忘掉前任,我火速辦了婚禮昌抠,結(jié)果婚禮上患朱,老公的妹妹穿的比我還像新娘。我一直安慰自己扰魂,他們只是感情好麦乞,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,868評論 6 392
  • 文/花漫 我一把揭開白布蕴茴。 她就那樣靜靜地躺著,像睡著了一般姐直。 火紅的嫁衣襯著肌膚如雪倦淀。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 51,688評論 1 305
  • 那天声畏,我揣著相機(jī)與錄音撞叽,去河邊找鬼。 笑死插龄,一個(gè)胖子當(dāng)著我的面吹牛愿棋,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播均牢,決...
    沈念sama閱讀 40,414評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼糠雨,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了徘跪?” 一聲冷哼從身側(cè)響起甘邀,我...
    開封第一講書人閱讀 39,319評論 0 276
  • 序言:老撾萬榮一對情侶失蹤,失蹤者是張志新(化名)和其女友劉穎垮庐,沒想到半個(gè)月后松邪,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 45,775評論 1 315
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡哨查,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,945評論 3 336
  • 正文 我和宋清朗相戀三年逗抑,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片寒亥。...
    茶點(diǎn)故事閱讀 40,096評論 1 350
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡邮府,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出溉奕,到底是詐尸還是另有隱情挟纱,我是刑警寧澤,帶...
    沈念sama閱讀 35,789評論 5 346
  • 正文 年R本政府宣布腐宋,位于F島的核電站紊服,受9級特大地震影響,放射性物質(zhì)發(fā)生泄漏胸竞。R本人自食惡果不足惜欺嗤,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,437評論 3 331
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望卫枝。 院中可真熱鬧煎饼,春花似錦、人聲如沸校赤。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,993評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至沾乘,卻和暖如春怜奖,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背翅阵。 一陣腳步聲響...
    開封第一講書人閱讀 33,107評論 1 271
  • 我被黑心中介騙來泰國打工歪玲, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人掷匠。 一個(gè)月前我還...
    沈念sama閱讀 48,308評論 3 372
  • 正文 我出身青樓滥崩,卻偏偏與公主長得像,于是被迫代替她去往敵國和親讹语。 傳聞我的和親對象是個(gè)殘疾皇子钙皮,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 45,037評論 2 355

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

  • Android 自定義View的各種姿勢1 Activity的顯示之ViewRootImpl詳解 Activity...
    passiontim閱讀 172,167評論 25 707
  • 新的一天開始拉~ 寶寶們今天來到園里,個(gè)個(gè)都朝氣蓬勃的呢顽决! 今天呀株灸,夢夢老師帶來一首《太陽咪咪笑》 堅(jiān)持每天做早操...
    紅黃藍(lán)圖圖班2閱讀 259評論 0 0
  • 瞬間消逝的流星, 追逐的也許就是剎那的照亮天空擎值。 一念的燃燒, 飛行了億萬光年逐抑, 確也是沒有錯(cuò)過地球的晴天鸠儿, 也算...
    半桶蒜皮閱讀 167評論 0 0
  • 夜里大雨,早起雨停厕氨,一切歸于平靜进每。新的一天開始了。 繼續(xù)分享聽張怡筠博士育兒講座的收獲命斧。今天張博士分享了《由內(nèi)而外...
    西涼水哥閱讀 953評論 0 51
  • 每個(gè)人都有著自己的故事 城市再喧囂 生活再浮躁 人群再聚散 你我再逍遙 也不過是此一時(shí)的煙霧迷繞 聚散終有時(shí) 聚時(shí)...
    Francisss閱讀 232評論 0 0