Answer the question
In order to leave comments, you need to log in
Why are styles not being applied (flexbox)?
<div class = "wrapper">
<input class = "input"/>
<button class = "button"></button>
</div>
.wrapper {
display: flex;
}
.input {
height: 25px;
width: 300px;
border: 1px solid #cecece;
border-radius: 6px;
outline: none;
padding: 2px 5px;
font-size: 15px;
};
.button {
height: 25px;
width: 120px;
background-color: red;
margin-left: 40px;
cursor: pointer;
};
Answer the question
In order to leave comments, you need to log in
The rule in CSS closes without a semicolon:
.class {
color: #fff;
} /* Тут не надо точки с запятой, точнее, он тут запрещен, ибо он будет всё ломать в последующем правиле */
<div class="wrapper"></div>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question