<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>POLO360</title>
<link rel="stylesheet" type="text/css" href="css/jmha.css">
<link rel="stylesheet" type="text/css" href="css/jmh.css">
</head>
<body>
<div class="head">
<div class="title">
<div class="box-img">
<img src="img/logo.png">
</div>
<ul class="title-ul">
<li>
<a href="javascript:;">HOME</a>
<p>Back to home</p>
</li>
<li>
<a href="javascript:;">PRODUCTS</a>
<p>What we have for you</p>
</li>
<li>
<a href="javascript:;">SERVICES</a>
<p>Things we do</p>
</li>
<li>
<a href="javascript:;">BLOG</a>
<p>Follow our updates</p>
</li>
<li>
<a href="javascript:;">CONTACT</a>
<p>Ways to reach us</p>
</li>
</ul>
</div>
<div class="main">
<ul>
<li>
<a href="">
<img class="s" src="img/pointer.png">
<img class="h" src="img/pointer.active.png">
</a>
</li>
<li>
<a href="">
<img class="s" src="img/pointer.png">
<img class="h" src="img/pointer.active.png">
</a>
</li>
<li>
<a href="">
<img class="s" src="img/pointer.png">
<img class="h" src="img/pointer.active.png">
</a>
</li>
<li>
<a href="">
<img class="s" src="img/pointer.png">
<img class="h" src="img/pointer.active.png">
</a>
</li>
<li>
<a href="">
<img class="s" src="img/pointer.png">
<img class="h" src="img/pointer.active.png">
</a>
</li>
</ul>
<img src="img/banner=pg.png" alt="阴影">
</div>
</div>
<div class="content w clearfix">
<h1>Lorem ipsum dolor sit amet, consectetur adipisicing elit</h1>
<!-- h1下边设置三个小标题块 -->
<div class="pl">
<h2>Perfect Logic</h2>
<p class="p1">All you want your website to do</p>
<div class="imgDiv">
<img src="img/pic/pic1.jpg" alt="男孩">
</div>
<p class="p2">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.1</p>
<a href="#" class="lm">Learn More</a>
</div>
<div class="cs">
<h2>Complete Solution</h2>
<p class="p1">A tool anything and everything you can think</p>
<div class="imgDiv">
<img src="img/pic/pic2.jpg" alt="女孩">
</div>
<p class="p2">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.</p>
<a href="#" class="lm">Learn More</a>
</div>
<div class="uc">
<h2>Uber Culture</h2>
<p class="p1">Fresh. Modern and ready for future</p>
<div class="imgDiv">
<img src="img/pic/pic3.jpg" alt="西瓜">
</div>
<p class="p2">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.</p>
<a href="#" class="lm">Learn More</a>
</div>
</div>
<div class="contact w clearfix">
<div class="sc">
<h2>Social Connection</h2>
<p class="p1">At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium</p>
<div class="icon">
<a href="#"><img src="img/logo1.png" alt="图1"></a>
<a href="#"><img src="img/logo2.png" alt="图2"></a>
<a href="#"><img src="img/logo3.png" alt="图3"></a>
<a href="#"><img src="img/logo4.png" alt="图4"></a>
<a href="#"><img src="img/logo5.png" alt="图5"></a>
</div>
<h2 class="nl">Newsletter</h2>
<p class="p1">At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium</p>
<form action="#">
<input class="txt" type="text" placeholder="your email address">
<button class="btn">Subscribe</button>
</form>
</div>
<div class="co">
<h2>Contact</h2>
<form action="#">
<input class="txt" type="text" placeholder="your name">
<input class="txt" type="text" placeholder="your email">
<textarea class="tarea" placeholder="message "></textarea>
<button class="btn">Send it</button>
</form>
</div>
<div class="nu">
<h2>News Updates</h2>
<p>
<img src="img/pic/new1.png" alt="new1">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</p>
<p>
<img src="img/pic/new2.png" alt="new2">
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.
</p>
<p class="no">
<img src="img/pic/new3.png" alt="new3">
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium.
</p>
<button class="btn">Visit our Blog</button>
</div>
</div>
<div class="footer">
<div class="w">
<p class="copy">Copyright 2010. Studio VIVROCKS. All Rights Reserved.</p>
<p>Site Powered by Wordpress. Design and Developed by VIVROCKS.</p>
<p>
<a href="#">Home</a> | <a href="#">About</a> |<a href="#">Products</a> | <a href="#">Services</a> | <a href="#">Contact</a>
</p>
<p>
<a href="#">Privacy Policy</a> | <a href="#">Terms of use</a>
</p>
</div>
</div>
</body>
</html>
jmh.css文件:
/body{
margin: 20px 0px;
}/
.head{
background-image: url(../img/bdbg.png);
overflow: hidden;
background-repeat: repeat-x;
}
.title{
width: 940px;
padding:37px 0px 46px 0px;
margin: 0 auto;
}
.box-img{
margin-left: 15px;
display: inline-block;
}
.title-ul{
/display: inline-block;/
float: right;
list-style: none;
width: 581px;
height: 39px;
margin-top: 22px;
}
.title-ul li{
float: left;
padding: 0px 10px 8px;
border-left: 1px #d6d6d6 dotted;
}
.title-ul li a{
color: #666;
font:bold 14px Georgia;
text-decoration: none;
}
.title-ul li p{
color: #b7b7b7;
font-size: 11px;
font-family: tahoma;
}
.main{
background-image: url(../img/banner/banner01.png);
margin: 0 auto;
width: 940px;
height: 356px;
position: relative;
background-repeat: repeat-x;
}
.main ul{
position: absolute;
top: 314px;
left: 15px;
}
.main ul li .h{
display: none;
position: relative;
/top: -19.5px;/
left: 0px;
}
.main ul li{
display: inline-block;
width: 17px;
height: 17px;
margin-left: 4px;
float: left;
}
.main ul li:hover .s{
display: none;
}
.main ul li:hover .h{
display: block;
}
.main>img{
display: block;
position: absolute;
top:342px;
left: 38.5px;
}
.clearfix:before,
.clearfix:after{
content: "";
display: table;
clear: both;
}
.clearfix{
zoom:1;
}
.w{
width: 940px;
margin: 0 auto;
}
.content h1{
text-align: center;
font: bold 24px Georgia;
padding: 6px 0 20px 0;
margin-bottom: 38px;
background: url(../img/line.png) no-repeat bottom center;
}
.content .pl, .content .cs, .content .uc,
.contact .sc, .contact .co, .contact .nu{
float: left;
width: 300px;
}
.content .pl,.content .cs,.content .uc,
.contact .sc,.contact .co,.contact .nu
{
float: left;
width: 300px;
}
.content .cs, .contact .co{
margin: 0 20px;
}
.content h2{
color:#11719e;
font:21px Georgia;
}
.content .p1{
color: #8c8c8c;
font:12px Helvetica;
}
.content .imgDiv{
width: 299px;
height: 190px;
background: url(../img/img.bg.png) no-repeat;
margin: 15px 0;
padding: 12px;
text-align: center;
}
.content .p2{
height: 92px;
color: #3e3e3e;
font: 13px Helvetica;
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 .sc, .contact .co, .contact .nu{
}
.contact .txt{
width: 276px;
height: 33px;
line-height: 33px;
background: url(../img/input.png) no-repeat;
border: none;
padding: 0px 10px;
margin: 0 0 16px;
}
.contact .tarea{
display: block;
width: 276px;
height: 114px;
background: url(../img/testarea.png) no-repeat;
border: none;
overflow: auto;
resize: none;
padding: 10px;
margin: 0;
}
.contact .btn{
width: 163px;
height: 32px;
background: url(data:image/data.png) no-repeat;
border: none;
padding: 0;
margin: 11px 0 23px;
color:white;
font: 18px 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 10px;
margin: 15px;
}
.sc .p1{
color: #444;
font: 12px/1 Helvetica;
}
.sc .icon{
font-size: 0px;
margin-top: 4px;
}
.sc .icon a{
margin-right: 6px;
}
.sc .nl{
color: #444;
font: bold 18px/1 "Gill Sans MT";
padding: 22px 0 10px;
}
.sc .txt{
margin-top: 15px;
margin-bottom: 0;
}
.nu img{
float: left;
margin-right: 8px;
}
.nu p{
color:#444;
height:58px;
_height:60px;
font: 12px/1 Helvetica;
border-bottom: 1px dashed #d3d3d3;
margin-bottom: 15px;
padding-bottom: 8px;
}
.nu .no{
margin-bottom: 0;
}
.nu .btn{
*margin-left: -1em;
}
.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 .copy{
float: right;
display: inline;
}
.footer p{
margin-left: 8px;
margin-right: 24px;
margin-bottom: 10px;
}
.footer .w{
padding-top: 18px;
}
jmha.css文件
/* v2.0 | 20110126
http://meyerweb.com/eric/tools/css/reset/
License: none (public domain)
/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/ HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}