背景三层嵌套

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
        <style>
            .wrap{background: url(bgcont_02.png) repeat-y;height: 1024px;width: 1024px;}
            .top{background: url(bgtop_01.png) no-repeat;height: 100%;}
            .bottom{background: url(bgbtm_05.png) no-repeat bottom;padding: 295px 30px 0px;height: 729px;}
        </style>
    </head>
    <body>
        <div class="wrap">
            <div class="top">
                <div class="bottom">
                    sssasad
                </div>
            </div>
        </div>
    </body>
</html>

 

posted @ 2017-08-23 11:29  盖大楼  阅读(196)  评论(0编辑  收藏  举报