JSFiddle - React, Tailwind, and code Playground
HTML
<div>
<button class="my-button-style">Btn 1</button>
<button class="my-button-style">Btn 2</button>
<button class="my-button-style">Btn 3</button>
</div>
CSS
.my-button-style + .my-button-style {
margin-left: 40px;
}
/* general button style */
.my-button-style {
height: 100px;
width: 150px;
}