html{height: 100%;} body.signin { height: auto; background:url("../images/login_bg.jpg") 0 0 repeat-x; color: rgba(255,255,255,.95); } .signinpanel { width: 340px; height: 360px; margin: 0 auto; background-color: #fff; } .signinpanel .logopanel { float: none; width: auto; padding: 0; background: none; } .signinpanel .signin-info ul { list-style: none; padding: 0; margin: 20px 0; } .signinpanel .form-control { display: block; margin-top: 15px; } .signinpanel .uname { color: #29282e; background: #fff url(../images/user.png) no-repeat 10px center; } .signinpanel .pword { color: #29282e; background: #fff url(../images/locked.png) no-repeat 10px center; } .signinpanel .btn { margin-top: 15px; } .signinpanel form { padding: 20px; border-bottom: 1px solid #dfdfdf; } .signup-footer{border-top: solid 1px rgba(255,255,255,.3);margin:20px 0;padding-top: 15px;} @media screen and (max-width: 768px) { .signinpanel, .signuppanel { margin: 0 auto; width: 420px!important; padding: 20px; } .signinpanel form { margin-top: 20px; } .signup-footer { margin-bottom: 10px; } .signuppanel .form-control { margin-bottom: 10px; } .signup-footer .pull-left, .signup-footer .pull-right { float: none !important; text-align: center; } .signinpanel .signin-info ul { display: none; } } @media screen and (max-width: 320px) { .signinpanel, .signuppanel { margin:0 20px; width:auto; } }