网页背景图片全屏,

<style type="text/css">
            body{
                background-image: url(dadishu/bg.jpg);
                background-repeat: no-repeat;
                background-size: 100% 100%;
                background-attachment: fixed;
                overflow: scroll;
                /*background: url(dadishu/bg.jpg);
                position:fixed;
                top: 0;
                left: 0;
                width:100%;
                height:100%;
                min-width: 1000px;
                z-index:-10;
                zoom: 1;
                background-color: #fff;
                background-repeat: no-repeat;
                background-size: cover;
                -webkit-background-size: cover;
                -o-background-size: cover;
                background-position: center 0;*/
            }
</style>

 

网页背景图片全屏,

上一篇:ASP.NET中MVC添加Controller以及访问其Action


下一篇:JS之闭包的应用