You don't need bootstrap, you can use this,
works good for three buttons,
P.S. you might find some extra CSS b/c i copy - pasted this from another code
also, this is one of the first things I ever created so naming might not be good, anyways, Hope this Helps!
body {
overflow-x: hidden;
}
.button {
border: 1.2vh groove rgb(200, 200, 200);
margin: 1.5vh 1vw;
width: 28vw;
font-size: 2vw;
transition: all 1s ease-in-out;
}
#laptop {
float: left;
width: 65%;
}
#tablet {
float: left;
width: 50%;
}
@media only screen and (orientation: landscape) {
.button,
#instructions {
font-size: 2vh;
}
}
@media only screen and (max-width: 1160px) {
#laptop {
float: none;
width: 100%;
}
#tablet {
float: left;
width: 50%;
}
.button {
width: 45vw;
font-size: 4vw;
}
}
@media only screen and (max-width: 485px) {
#laptop {
width: calc(95vw - 32px);
}
#tablet {
float: none;
width: calc(95vw - 32px);
}
.button {
width: calc(95vw - 32px);
font-size: 4vw;
}
}
<div id="laptop">
<button type="button" id="b1" class="button" onclick="">Click to</button>
<div id="tablet">
<button type="button" id="b2" class="button" onclick=""> Click to</button>
</div>
</div>
<button type="button" id="b3" class="button" onclick=""> Click to</button>