JSFiddle - React, Tailwind, and code Playground
by andrew rowe
HTML
<input id='go'></input>
<div>Test</div>
<div class="arrow-up"></div>
CSS
.arrow-up {
width: 0;
height: 0;
border-left: 55px solid transparent;
border-right: 55px solid transparent;
border-bottom: 55px solid black;
}
JavaScript
$("div").dialog({
buttons: {
'Disable Me': function(e) {
$(e.target).closest("button").attr("disabled", true);
}
}
});