我有以下内容。哪把盒子放在中间。
:host {
.auth-container {
display: flex;
flex-direction: row;
height: 82vh;
width: 100%;
}
.left-container {
/* This will be twice as */
/* big as the small item. */
flex: 2 0 0;
.background-container {
background-position: center;
background-repeat: no-repeat;
background-size: cover;
background-image: url("../../../../assets/background/signin.jpg");
}
}
.right-container {
flex: 1 0 0;
align-items: center;
justify-content: center;
align-content: center;
}
.auth-box {
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-end;
width: 100%;
}
}
两件事没有发生