odin-codespace/signup_form/css/style.css

50 lines
941 B
CSS
Raw Normal View History

2023-11-01 15:00:51 -04:00
.container {
justify-content: center;
display: flex;
flex-direction: column;
align-content: center;
2023-11-02 16:28:30 -04:00
}
.form-input {
margin-bottom: 40px;
display: flex;
justify-content: flex-start;
flex-direction: column;
flex-wrap: wrap;
}
.form-row input[type='text'] {
background-color: #FFFFFF;
border: 1px solid #D6D9DC;
border-radius: 3px;
width: 100%;
padding: 7px;
font-size: 14px;
}
.form-row label {
margin-bottom: 15px;
}
@media only screen and (min-width: 700px) {
.form {
width: 600px;
}
.form-row {
flex-direction: row;
align-items: flex-start; /* To avoid stretching */
margin-bottom: 20px;
}
.form-row input[type='text'] {
width: 250px;
height: initial;
}
.form-row label {
text-align: right;
width: 120px;
margin-top: 7px;
padding-right: 20px;
}
}