端午作业

效果


html代码

Polo360首页

Lorem ipsum dolor sit amet,constectetur adipisicing slit

Perfect Logic

All you want your website to so

小男孩

Sed ut perspiciatis unde ownis iste natus error sit voluptatem accusanntium dodoremque laudantium,totam rem aperiam,eque ipsa quae ab illo inventore veritatis et quasi architecto beatae dicta suntexplicabo.

Learn More

Complete Solution

A tool anything and evenything you can think

小nv孩

Nemo enim jpsam voluptatem qula voluptas sit aspernatur aut odit aut fugit,sed qula consewunnentur magni dolorse eos qui ratione voluptatem sequi nesciun tdolore magnam aligquam quaerat voluptatem.

Learn More

Uber Culturn

Fresh.Modern and ready for luture

小qiu孩

Neque porro quisquam est,quasf ipsum quia dolor sit amet,conrren adipisci velit.sed quia non number modi tepora inicident ut labotis magnnan aliquam quaercal voluapation

Learn More

Social Connection

At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditilis preaesentium.

rss

fb

in

yt

tw

Newsletter

At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditilis preaesentium.

Contact

News Updates

Lorem ipsum dolor sit amet,consectetur adipisicing elit,sed do eiusmod tempor incididunt ut labore etdolore megna aliqua.

Sed ut perspiciatais unde ownis iste natus error sit volutipatem accounsantium doloremque laudantium,totamrem aperiam.

At vero eos et accusamus et iusto odio dignissismos ducimus qui blanditiila prassentium.



css样式表

/*设置body*/

body{

background: url(../img/bd-bg.png) repeat-x;

}

/*解决高度塌陷*/

.clearfix:before,

.clearfix:after{

content: "";

display: table;

clear: both;

}

.clearfix{

zoom:1;

}

/*固定元素的宽度和剧中*/

.w{

width: 940px;

margin: 0 auto;

}

.header{

/*background-color: #bfa;*/

padding-top: 37px;

padding-bottom: 46px;

}

/*设置logo位置*/

.logo{

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;

text-decoration: underline;

}

.nav p{

color: #b7b7b7;

font: 11px Tahoma;

}

/*设置banner*/

.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;

background: url(../img/pointer.png) no-repeat;

}

.pointerDiv .active,

.pointerDiv a:hover{

background: url(../img/pointer-active.png) no-repeat;

}

/*      *设置content部分        */

.content h1{

text-align: center;

font: bold 24px Georgia;

padding: 6px 0px 20px 0px;

margin-bottom: 30px;

background: url(../img/line.png) no-repeat bottom center;

}

/*3个div*/

.content .pl,.content .cs, .content .uc,

.contact .sc,.contact .co, .contact .nu{

float: left;

width:300px;

/*height: 100px;

background-color: yellow;*/

}

.content .cs,.contact .co{

margin: 0px 20px;

}

.content h2{

color: #11719e;

font: 21px Georgia;

}

.content .p1{

color: #8c8c8c;

font:12px Helvetica;

}

/*设置图片div*/

.content .imgDiv{

width: 299px;

height: 190px;

background: url(../img/img-bg.png) no-repeat;

margin-bottom: 15px 0px;

text-align:center;

padding-top: 12px;

}

.content .p2{

height: 92px;

font: 13px Helvetica;

color:#3e3e3e;

word-spacing: 2px;

}

.content .lm{

display: block;

width: 163px;

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 .txt{

width: 276px;

height: 33px;

line-height: 33px;

background: url(../img/input.png) no-repeat;

_background-attachment: fixed;

border: none;

padding:0 10px;

margin: 0px 0px 16px;

}

.contact .tarea{

/*display: none;*/

width: 276px;

height: 114px;

background: url(../img/textarea.png) no-repeat;

_background-attachment: fixed;

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:0;

margin: 11px 0 23px;

color: white;

font: 13px Georgia;

text-align:left;

text-indent: 2em;

cursor: move;

}

.contact h2{

color: #444;

font: 18px/1 Georgia;

border-bottom: 1px dashed #d3d3d3;

padding:44px 0px 10px;

margin-bottom: 15px;

}

.sc .p1{

color: #444;

font: 12px/1 Helvetica;

}

.sc .icon{

font-size: 0;

margin-top: 6px;

}

.sc .icon.a{

margin-right:6px;

}

.sc .n1{

font:bold 18px/1 "Gill Sans MT";

color: #444;

padding:34px 0 10px;

}

.sc .txt{

margin-bottom: 0;

margin-top: 12px;

_margin-top: 18px;

}

.nu img{

float: left;

margin-right: 8px;

}

.nu p{

color: #444;

height: 58px;

font:12px/1 Helvetica;

border-bottom: 1px dashed #d3d3d3;

margin-bottom: 15px;

padding-bottom: 8px;

}

.nu .no-margin{

margin-bottom:0px;

}

.footer{

height: 173px;

background: #333;

border-top: 10px solid #4c4c4c;

}

.footer a,.footer p{

color:#999;

font:11px Helvetica;

text-decoration: none;

}

.footer a:hover{

color: #d1d2d2;

text-decoration:underline;

}

.footer .cvvv{

float: right;

}

.footer p{

margin-left: 8px;

margin-right:24px;

margin-bottom: 10px;

}

.footer .w{

padding-top:16px;

}

你可能感兴趣的:(端午作业)