JSFiddle - React, Tailwind, and code Playground

by willtx

HTML

<script src="https://code.jquery.com/jquery-3.4.1.slim.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css">
<!-- 
  Bootstrap docs: https://getbootstrap.com/docs
-->
<div>
<button>
Show Modal
</button>
</div>

    <div id="cancelModal" class="modal" tabindex="-1" role="dialog" aria-labelledby="Cancel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    Cancel this Order Item
               
                </div>
                <div class="modal-body">
                    <div class="form-group">
                        <label for="CancelReasons" class="control-label col-md-3">Reason:</label>
                        <div class="col-md-9">
                            <select id="CancelReasons" runat="server" class="form-control chosen-select" autofocus="autofocus" />
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="CancelFullFee" class="control-label col-md-3" style="padding-top: 3px">Fees:</label>
                        <div class="col-md-9">
                            <select id="CancelFeeType" runat="server" class="form-control chosen-select" onchange="OnCancelFullFeeChanged()" />
                        </div>
                    </div>
                    
                    <div class="form-group">
                        <label for="CancelClientFee" class="control-label col-md-3">Client Fee:</label>
    ...

CSS

.row {
  background: #f8f9fa;
  margin-top: 20px;
}

.col {
  border: solid 1px #6c757d;
  padding: 10px;
}