美文网首页
polo360网页制作

polo360网页制作

作者: 心软脾气硬01 | 来源:发表于2018-09-16 13:49 被阅读0次

    学的东西多了,网页难度加大,一个综合的网页制作训练是非常必要的,来吧接原图
    好吧原图太大
    源代码走一遍

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Polo360</title>
        <style type="text/css">
            *{
                margin: 0;
                padding: 0;
            }
            body{
                background: url("body.png") 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;
            }
            .logo{
                margin-left: 15px;
            }
            .nav{
                float: right;
                list-style: none;
                margin-top: 15px;
            }
            .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{
                height: 356px;
                background: url("web.jpg") 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("baidian.png") no-repeat;
            }
            .pointerdiv .active,.pointerdiv a:hover{
                background: url("landian.png") no-repeat;
            }
            /*.content{*/
                /*background: #c80a28;*/
            /*}*/
            .content h1{
                text-align: center;
                font: bold 24px Georgia;
                padding: 6px 0 20px 0;
                background: url("tiao.jpg") no-repeat bottom center;
                margin-bottom: 30px;
            }
            .content .p1,.content .cs,.content .uc,.contact .sc,.contact .co,.contact .nu{
                float: left;
                width: 300px;
                /*background: yellow;*/
            }
            .content .cs{
                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("beijing.png") no-repeat;
                margin: 15px 0;
                text-align: center;
                padding-top: 12px;
            }
            .content .p2{
                height: 92px;
                color: #3e3e3e;
                font: 13px Helvetica;
            }
            .content .lm{
                display: block;
                width: 163px;
                height: 40px;
                background: url("anniu.png") no-repeat;
                color: #016999;
                font: 12px/40px Helvetica;
                text-indent: 1em;
                text-decoration: none;
                margin-bottom: 35px;
            }
            .contact{
                background: url("tiao.jpg") 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("wenbenkuang1.png") no-repeat;
                _background-attachment: fixed;
                border: none;
                padding: 0 10px;
                margin: 0px 0px 16px;
            }
    
            @media screen and (-webkit-min-device-pixel-ratio: 0) {
                .contact .tarea{
                    display: block;
                }
            }
            .contact .tarea{
                width: 276px;
                height: 114px;
                background: url("wenbenkuang2.png") no-repeat;
                _background-attachment: fixed;
                border: none;
                overflow: auto;
                /*设置文本域不能调整大小*/
                resize: none;
                padding: 10px;
                margin: 0;
            }
            .contact .btn{
                width: 163px;
                height: 32px;
                background: url("anniu1.png") no-repeat;
                border: none;
                padding: 0;
                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 #d3d3d;
                padding: 42px 0px 10px;
                margin-bottom: 15px;
            }
            .sc p{
                color: #444;
                font: 13px/1 Helvetica;
            }
            .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: 28px 0 10px;
            }
            .sc .txt{
                _margin-top: 18px;
                margin-top: 15px;
                margin-bottom: 0;
            }
            .nu img{
                float: left;
                margin-right: 8px;
            }
            .nu p{
                font: 12px/1 Helvetica;
                color: #444;
                height: 58px;
                _height: 60px;
                border-bottom: 1px dashed #b3b3b3;
                margin-bottom: 15px;
                padding-bottom: 8px;
            }
            .nu .no-margin{
                _margin-bottom: 3px;
            }
            .nu button{
                 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 .copy{
                float: right;
            }
            .footer .p{
                margin-right: 24px;
                margin-left: 8px;
                margin-bottom: 10px;
            }
            .footer .w{
                padding-top: 18px;
            }
        </style>
    </head>
    <body>
        <div class="header w">
            <ul class="nav">
                <li><a href="#">HOME</a><p>Back to home</p></li>
                <li><a href="#">PRODUCTS</a><p>What we have for youe</p></li>
                <li><a href="#">SERVICES</a><p>Things we do</p></li>
                <li><a href="#">BLOG</a><p>Follow our updates</p></li>
                <li><a href="#">CONTACT</a><p>Ways to reach us</p></li>
            </ul>
            <div class="logo">
                <a href="#" title="这是一个超链接"><img src="logo.jpg" alt="网站logo"></a>
            </div>
        </div>
    
        <div class="banner w">
            <div class="top">
                <img src="datu.png" alt="网站logo">
            </div>
            <div class="pointerdiv">
                <a href="#"></a>
                <a href="#" class="active"></a>
                <a href="#"></a>
                <a href="#"></a>
                <a href="#"></a>
            </div>
        </div>
        <div class="content w clearfix">
            <h1>Lorem ipsum dolor sit amet, consectetur adipisicing elit</h1>
            <div class="p1">
                <h2>Perfect Logic</h2>
                <p class="p1">All you want your website to do.</p>
                <div class="imgdiv">
                    <img src="left.png">
                </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="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="min.jpg">
                </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="right.jpg">
                </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>At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium</p>
                <div class="icon">
                    <a href="#"><img src="wifi.png" alt="rss"></a>
                    <a href="#"><img src="f.png" alt="fb"></a>
                    <a href="#"><img src="in.png" alt="in"></a>
                    <a href="#"><img src="u.png" alt="ub"></a>
                    <a href="#"><img src="t.png" alt="tl"></a>
                </div>
                <h2 class="nl">Newsletter</h2>
                <p>At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium</p>
                <form action="#">
                    <input class="txt" type="text" placeholder="your name">
                    <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 address">
                    <textarea class="tarea" placeholder="massage"></textarea>
                    <button class="btn">Send it</button>
                </form>
            </div>
            <div class="nu">
                <h2>News Updates</h2>
                <p><img src="huohu.png" alt="hh">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. </p>
                <p><img src="xingkong.png" alt="xk">Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.</p>
                <p class="no-margin"><img src="hua.png" alt="hu">At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praes</p>
                <!--<form action="#">-->
                <a href="#"><button class="btn">Visit our Blog</button></a>
                <!--</form>-->
            </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>
    

    哇塞,源代码好长,还是看网页把
    http://localhost:63342/BaiduNetdisk/sounds/Polo360.html?_ijt=cgbuhke3350dnvffke24bd8baj

    相关文章

      网友评论

          本文标题:polo360网页制作

          本文链接:https://www.haomeiwen.com/subject/luzxnftx.html