@import '~normalize.css/normalize.css'; .user-login { .user-login-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-size: cover; } .el-checkbox__label { color: #999; font-size: 13px; } .content-wrapper { position: absolute; top: -100px; left: 0; right: 0; bottom: 0; max-width: 1080px; margin: 0 auto; display: flex; justify-content: space-around; align-items: center; .slogan { text-align: center; color:#409EFF; font-size: 36px; letter-spacing: 2px; line-height: 48px; } } .form-container { display: flex; justify-content: center; flex-direction: column; padding: 30px 40px; background-color: #fff; border-radius: 6px; box-shadow: 1px 1px 2px #eee; } .el-form-item { margin-bottom: 15px; } .form-Item { position: relative; flex-direction: column; } .form-line { position: relative; display: flex; align-items: center; &:after { content: ''; position: absolute; bottom: 3px; left: 0; width: 100%; box-sizing: border-box; border-width: 1px; border-style: solid; border-top: 0; border-left: 0; border-right: 0; border-color: #dcdcdc; border-radius: 0; } } .el-input { width: 240px; input { border: none; margin: 0; padding-left: 10px; font-size: 13px; } } .form-title { margin: 0 0 20px; text-align: center; color: #3080fe; letter-spacing: 12px; } .input-icon { color: #999; } .checkbox { margin-left: 5px; } .submit-btn { margin-bottom: 25px; width: 100%; background: #3080fe; border-radius: 28px; } .tips {} .link { color: #999; text-decoration: none; font-size: 13px; } .line { color: #dcd6d6; margin: 0 8px; } } @media screen and (max-width: 720px) { .user-login { .content-wrapper { margin: 20px auto; top: 40px; max-width: 300px; display: block; .slogan { color: #666; font-size: 22px; line-height: 30px; } } } }