I would like to have all the buttons have a margin-top to the buttoncontainer of 0 or some other value. But somehow it seems like this works or not depending on the content. The more the buttons content linebreaks vary the more the margin-top is different. How to make them all align?
.buttoncontainer {
height: 100px;
width: 400px;
background-color: lightblue;
display: inline-block;
}
button {
margin-top: 0;
height: 100%;
width: 60px;
display: inline-block;
}
<div class="buttoncontainer">
<button></button>
<button>test</button>
<button>test test test </button>
</div>