34 lines
596 B
CSS
34 lines
596 B
CSS
|
|
||
|
*, *:before, *:after {
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
margin:0;
|
||
|
min-height: 100vh;
|
||
|
}
|
||
|
|
||
|
.center {
|
||
|
position: absolute;
|
||
|
width: 400px;
|
||
|
height: 400px;
|
||
|
top: 50%;
|
||
|
left: 50%;
|
||
|
margin-left: -200px;
|
||
|
margin-top: -200px;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
padding: 30px;
|
||
|
color: #333;
|
||
|
}
|
||
|
.center input {
|
||
|
width: 100%;
|
||
|
padding: 15px;
|
||
|
margin: 5px;
|
||
|
border-radius: 1px;
|
||
|
border: 1px solid rgb(90, 90, 90);
|
||
|
font-family: inherit;
|
||
|
background-color: #eae9ea;
|
||
|
}
|