直接看css样式:
<style>
body {
background: url(img/background_login.jpg);
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
</style>