代码拉取完成,页面将自动刷新
* {
margin: 0;
padding: 0;
}
.box {
background-color: rgb(51, 32, 108);
width: 100vw;
height: 100vh;
.content {
width: 90vw;
height: 85vh;
background-color: rgb(228, 218, 232);
border-radius: 40px;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
transition: 1s;
.images {
margin-left: -150px;
margin-right: 100px;
position: absolute;
left: 15%;
}
.login-img {
width: 45%;
height: 90%;
border-radius: 15%;
}
.register-img {
width: 45%;
opacity: 0;
border-radius: 15%;
}
.login-wrapper {
width: 30vw;
height: 70vh;
border-radius: 40px;
backdrop-filter: blur(1px);
background: rgba(244, 240, 245, 0.6);
padding: 60px;
box-sizing: border-box;
position: absolute;
right: 10%;
transition: 1s;
.top-tips {
span:nth-child(1) {
font-size: 25px;
font-weight: 600;
}
.top-tips-span {
font-size: 15px;
color: rgb(79, 133, 226);
border-bottom: 1px solid rgb(79, 133, 226);
float: right;
line-height: 25px;
cursor: pointer;
}
}
h1 {
font-size: 45px;
margin: 20px 0;
}
.other-login {
width: 60%;
height: 50px;
border-radius: 10px;
text-align: center;
line-height: 50px;
font-size: 20px;
color: #fff;
margin: 40px 0;
background-color: rgb(79, 133, 226);
padding-bottom: 2px;
cursor: pointer;
img {
width: 25px;
height: 25px;
vertical-align: middle;
}
span {
vertical-align: middle;
}
}
.login-form,
.register-form {
width: 100%;
.form-item {
.text-tips {
color: rgb(123, 122, 123);
margin: 5px;
.forgot-password {
font-size: 15px;
color: rgb(79, 133, 226);
border-bottom: 1px solid rgb(79, 133, 226);
float: right;
line-height: 25px;
cursor: pointer;
}
}
input {
width: 100%;
height: 50px;
margin: 5px 0;
border-radius: 5px;
border: 0;
font-size: 17px;
padding: 0 20px;
box-sizing: border-box;
}
input:focus {
outline: none;
border: 1px solid rgb(79, 133, 226);
}
}
.btn {
width: 150px;
height: 50px;
margin: 20px 0;
background-color: rgb(59, 58, 59);
border: 0;
border-radius: 5px;
color: #fff;
font-size: 20px;
cursor: pointer;
}
}
.login-form {
display: block;
}
.register-form {
display: none;
}
}
}
}
.add-class-content {
background-color: rgb(156, 148, 208) !important;
transition: .1s;
}
.add-class-login-img {
animation: disappear 0.3s forwards;
animation-timing-function: ease;
}
.add-class-login-img-show {
animation-delay: 1s;
animation: appear 1s forwards;
animation-timing-function: ease;
}
.add-class-register-img {
animation: appear 1s forwards;
animation-timing-function: ease;
animation-delay: .2s;
}
@keyframes appear {
from {
border-radius: 15%;
opacity: 0;
}
to {
border-radius: 0%;
opacity: 1;
}
}
@keyframes disappear {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。