JSFiddle - React, Tailwind, and code Playground
by Pranav C
HTML
<div style="width:500px;">
<button type="submit" class="msgBtn" onClick="return false;" >Save</button>
<button type="submit" class="msgBtn2" onClick="return false;">Publish</button>
<button class="msgBtnBack">Back</button>
</div>
CSS
div button{
display:inline-block;
}