Basically, I have two buttons that have the same style and are lined beside each other inside a parent div.
CSS grid can do this:
body {
text-align: center
}
.container {
display: inline-grid;
grid-template-columns: 1fr 1fr;
margin:10px;
}
.btn {
min-height: 44px;
max-width: 320px;
box-sizing: border-box;
padding: 6px 24px border-radius: 4px;
outline: none;
cursor: pointer;
}
.btn-primary {
border: none;
background-color: #808080;
color: #FFFFFF;
}
.button1 {
background-color: #FFFFFF;
color: #000000;
border: 1px solid #b6b6b6;
}
.button2 {
margin-left: 12px;
padding: 6px 36px;
}