360首页制作

css


body{
    background-image: url(../img/polo360.png);
    background-repeat: repeat-x;
}
/*解决高度塌陷*/
.clearfix:before,
.clearfix:after{
    content: "";
    display: table;
    clear: both;
}
.clearfix{
    zoom:1 ;
}
.w{
    width: 940px;
    margin: 0 auto
}
.header{
    padding-top: 37px;
    padding-bottom: 46px;
}
.log{
    margin-left: 15px;
}
.nav{
    float: right;
    margin-top: 22px;
}
.nav li{
    float: left;
    padding: 0 10px 8px;
    border-left: 1px #d6d6d6 dotted;
}
.nav a{
    color: #666;
    font: bold 14px Georgia;
    text-decoration: none;
}
.nav a:hover{
    color: #a5a4a4;
}
.nav p{
    color:#b7b7b7;
    font: 11px Tahoma;
}
.banner{
    height: 356px;
    background: url(../img/banner-bg.png) no-repeat bottom center;
    position: relative;
}
.pointerDiv{
    position: absolute;
    top: 314px;
    left:15px;
}
.pointerDiv a{
    float: left;
    width: 17px;
    height: 17px;
    margin-left: 4px;
    background:  url(../img/pointer.png) no-repeat;
}
.pointerDiv .active,
.pointerDiv a:hover{
    background: url(../img/pointerHover.png);
}
.content h1{
    text-align: center;
    font:bold 24px Georgia;
    padding: 6px 0 20px 0;
    margin-top: 30px;
    background: url(../img/line.png) no-repeat bottom center;
}
.content .pl, .content .cs, .content .uc,
.contact .sc, .contact .co, .contact .nu {
    
    width: 300px;
    float: left;
    /*background-color: yellow;*/
}
.content .cs ,.contact .co{
    margin: 0 20px;
}
.content h2{
    color: #11719e;
    font: 21px Georgia;
}
.content p{
    color: #8c8c8c;
    font: 12px Helvetica;
}
.content .imgDiv{
    height: 190px;
    width: 299px;
    margin: 15px 0;
    background: url(../img/img-bg.png);
    padding-top: 12px;
    text-align: center;
}
.content .p2{
    height: 92px;
    color: #3e3e3e;
    font: 13px Helvetica;
}
.content .im{
    display: block;
    width: 168px;
    height: 40px;
    background: url(../img/btn1.png) no-repeat;
    color: #016999;
    font:12px/40px Helvetica;
    text-indent: 1em;
    text-decoration: none;
    margin-bottom: 35px;
}
.contact{
    background: url(../img/line.png) no-repeat top center;
}
/*.contact .sc, .contact .co, .contact .nu{
    height: 500px;
    /*background-color: yellow*/
.contact .txt{
    width: 276px;
    height: 33px;
    line-height: 33px;
    background: url(../img/input.png) no-repeat;
    border: none;
    padding: 0 10px;
    margin:0px 0px 16px;

}
.contact .tarea{
    display: block;
    width: 276px;
    height: 114px;
    background: url(../img/textarea.png) no-repeat;
    border: none;
    overflow: auto;
    /*设置文本域不能调整大小*/
    resize: none;
    padding: 10px;
    margin: 0;
}
.contact .btn{
    width: 163px;
    height: 32px;
    background: url(../img/btn2.png) no-repeat;
    border: none;
     padding: 0px;
     margin: 11px 0 23px;
     color: white;
     font:13px Georgia;
     text-align: left;
     text-indent: 1em;
     cursor: pointer;
}
.contact h2{
    color:#444;
    font: 18px/1 Georgia;
    border-bottom: 1px dashed #d3d3d3;
    padding:  44px 0 0 10px;
    padding-bottom: 10px;
}
.sc .p1{
    color: #444;
    font:12px/1 Helvtica;
    margin-bottom: 7px;
}
.sc .icon{
    font-size: 0;
    margin-top: 4px;    
}
.sc .icon a{
    margin-right: 6px;
}
.sc .nl{
    color: #444;
    font:bold 18px/1 "Gill Sans MT";
    padding: 38px 0 10px;
}
.sc .txt{
    margin-top: 18px;
    margin-bottom: 0px;
}
.nu img{
    float: left;
    margin-left: 8px;
}
.nu p{
    height: 58px;
    color: #444;
    font:12px/1 Helvetica;
    border-bottom: 1px dashed #d3d3d3;
    margin-bottom:10px;
    padding-bottom: 8px;
}
.no .no-margin{
    margin-bottom: 0px;
}
.footer{
    height: 173px;
    background: #333;
    border-top: 10px solid #4c4c4c;
}
.footer a, .footer p{
    color: #999;
    font:11px Hlvetica;
    text-decoration:none;
}
.footer a:hover{
    color: #d1d2d2;
    text-decoration: underline;
}
.footer .copy{
    float: right;
}
.footer p{
    margin-left: 8px;
    margin-right: 24px;
    margin-bottom: 10px; 
}
.footer .w{
    padding-top:18px;
}

首页代码




    
    360首页
    
    


    
    

Lorem ipsum dolor sit amet, consectetur adipisicing elit

Perfect Logic

All you want your website to do.

小男孩

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.

Learn More

Complete Solution

A tool anything and everything you can think

小女孩

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciun tdolore magnam aliquam quaerat voluptatem.

Learn More

Uber Culture

Fresh. Modern and ready for future

小球

Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.

Learn More

Social Connection

At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium

rss rss rss rss rss

Newsletter

At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium

Contact

News Updates

d Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

d Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.

dAt vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium.

效果图


360首页制作_第1张图片

你可能感兴趣的:(360首页制作)