I'm trying to make a form row with input and text, I trying to fit a input in maximum width of document but this doesn't work
Any Solution for this ? and how to use media queries for this form? Thank You
.comment {
width: 100%;
min-height: 50px;
display: flex;
align-items: center;
justify-content: center;
background-color: white;
flex-wrap: wrap;
flex-direction: row;
border: 1px solid #efefef;
}
.com-row {
width: 100%;
min-height: 50px;
flex-wrap: wrap;
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
}
.txt {
width: 550px;
min-height: 50px;
margin: 0 5px;
background-color: red;
display: flex;
align-items: center;
justify-content: center;
flex-direction: row;
flex-wrap: wrap;
border: none;
}
<div class="comment">
<div class="com-row">
<input type="text" class="txt">
<h4>Post</h4>
</div>
</div>