I'm having this kind of problem because I already tried this code:
.form {
position: relative;
width: 80%;
background: #CCC;
}
.btn-one,
.btn-two {
position: relative;
height: 35px;
width: 50%;
border: 0;
border-radius: 4px;
color: white;
background: Steelblue;
display: inline-block;
}
<div class="form">
<button class="btn-one">Button 1</button>
<button class="btn-two">Button 2</button>
</div>
But the result is that the .btn-two ends up being on the new line or at the bottom of .btn-one. How can I make this full width without spaces while they're inlined? I hope someone will suggest an answer without the use of Bootstrap. Only in pure CSS.