4.8 Polo360首页

HTML

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Polo360首页</title>
    <link rel="stylesheet" href="ie6_png/DD_belatedPNG_0.0.8a-min.js">
    <link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
    <!-- header的开始 -->
    <div class="header w">
        <ul class="nva">
            <li>
                <a href="#">HOME</a>
                <p>Back to home</p>
            </li>
            <li>
                <a href="#">PRODUCTS</a>
                <p>What we have for you</p>
            <li>
                <a href="#">SERVICES</a>
                <p>Things we do</p>
            <li>
                <a href="#">BLOG</a>
                <p>Follow our updates</p>
            <li>
                <a href="#">CONTACT</a>
                <p>Ways to reach us</p>
        </ul>
        <a href="#"><img src="img/logo.png" alt="lalala"></a>

    </div>
    <!-- header的结束 -->

    <!-- bannar的开始 -->
    <div class="bannar w">
        <a href="#"><img src="img/bannar/bannar1.png"></a>

        <div class="pointerDiv">
            <a href="#"></a>
            <a href="#" class="an2"></a>
            <a href="#"></a>
            <a href="#"></a>
            <a href="#"></a>
        </div>
    </div>
    <!-- banner的结束 -->
    <div class="contact w">
        <h2 class="h1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</h2>
        <div class="pl">
            <h2 class="h2">Perfect Logic</h2>
            <p class="p1">All you want your website to do.</p>
            <div class="bg1">
                <img class="tp" src="img/小男孩.png" 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.</p>
            <a href="#" class="a1">Learn More</a>
        </div>
        <div class="cs">
            <h2 class="h2">Complete Solution</h2>
            <p class="p1">A tool anything and everything you can think</p>
            <div class="bg1">
                <img class="tp" src="img/小女孩.png" 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="a1">Learn More</a>
            
        </div>
        <div class="uc">
            <h2 class="h2">Uber Culture</h2>
            <p class="p1">Fresh. Modern and ready for future</p>
            <div class="bg1">
                <img class="tp" src="img/字母老壳.png" 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="a1">Learn More</a>
        </div>
    </div>
</body>
</html>

CSS

*{
    margin: 0;
    padding: 0;
}
body{
    height: 3000px;
    background-image: url(../img/bg.png);
    background-repeat: repeat-x;
}
.w{
    width: 940px;
    margin: 20px auto;
}
.header{
    height: 137px;
    /*background-color: red;*/
}
.header a img{
    float: left;
    padding-left: 15px;
    padding-top: 12px;
}
.nva{
    float: right;
}
.nva li{
    list-style: none;
    float: left;
    margin: 30px 8px 10px 12px;
    padding-bottom: 15px;
    padding-left: 10px;
    border-left: 1px #d6d6d6 dotted;
}
.nva li a{
    text-decoration: none;
    font-family: Georgia;
    font-size: 14px;
    color: #666;
}
.nva li a:hover{
    color: #b7b7b7;
}
.nva li p{
    font-family: Tahoma;
    font-size: 11px;
    color: #b7b7b7;
}

.bannar{
    height: 356px;
    background: url(../img/bannar/yinyin.png) no-repeat bottom center;
    position: relative;
}
.pointerDiv{
    position: absolute;
    top: 314px;
    left: 17px;
}
.pointerDiv a{
    float: left;
    height: 17px;
    width: 17px;
    background: url(../img/bannar/baiseanniu.png) no-repeat;
    margin: 4px;
}
.pointerDiv .an2{
    background: url(../img/bannar/landeanniu.png) no-repeat;
}
.pointerDiv a:hover{
    background: url(../img/bannar/landeanniu.png) no-repeat;
}
.contact .h1{
    color: #000;
    font: 24px Georgia;
    text-align: center;
    display: block;
    background: url(../img/长阴影.png) no-repeat bottom center;
    padding-bottom: 30px;
}
.contact .pl , .contact .cs , .contact .uc{
    width: 300px;
    height: 435px;
    float: left;
    margin: 2px 20px 2px 0px;
    /*background-color: red;*/
}
.contact .uc{
    margin-right: 0px;
}
.contact .h2{
    color: #11719e;
    font: 21px Georgia;
    padding-bottom: 12px;
    text-indent: 0.5em;
}
.contact .p1{
    color: #8c8c8c;
    font: 12px Helvetica;
    text-indent: 1em;
    margin: 2px 0px 8px 0px;
}
.contact .bg1{
    width: 299px;
    height: 202px;
    /*padding-top:0px;*/
    background: url(../img/阴影背景.png) no-repeat center;
    text-align: center;
    margin-right: 20px;
}
.contact .tp{
    margin-top: 12px;
}
.contact .p2{
    padding-top: 8px;
    color: #3e3e3e;
    font: 13px Helvetica;
    word-spacing: 1px;
}
.contact .a1{
    text-decoration: none;
    color: #016999;
    font: 12px Helvetica;
    line-height: 32px;
    text-indent: 1em;
    display: block;
    width: 163px;
    height: 32px;
    background: url(../img/按钮.png) no-repeat center;
    margin-top: 20px;
}
.contact .a1:hover{
    text-indent: 1.2em;
}

效果图


image.png
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 译者:旭日云中竹链接:http://www.zcfy.cc/article/1057原文:https://medi...
    IT程序狮阅读 11,370评论 8 200
  • 译者:旭日云中竹链接:http://www.zcfy.cc/article/1057原文:https://medi...
    51CTO学院阅读 10,627评论 2 179
  • HTML 5 HTML5概述 因特网上的信息是以网页的形式展示给用户的,因此网页是网络信息传递的载体。网页文件是用...
    阿啊阿吖丁阅读 9,833评论 0 0
  • 爸爸去了城上之后,二子本来是快活了一阵的。 本来,家里有两个大人管着他。犯了事,不是爸爸骂,就是妈妈骂。在庄上疯的...
    郭绿狮阅读 3,369评论 0 1
  • 在家看电视,看了《军营大拜年》这个栏目。当然没有专注的看,只是无聊的打发时间。看的是岗巴营那一集,朋友们可以在网上...
    局外人在局中阅读 1,423评论 0 0

友情链接更多精彩内容