JSFiddle - React, Tailwind, and code Playground

by Roberto Salemi

HTML

<script src="//code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<link rel="stylesheet" href="//stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"></script>
<script src="//stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- 
  Bootstrap docs: https://getbootstrap.com/docs
-->

        <div class="form-row clearfix row-margin">
            <div class="col-md-6 mb-3">
                <label>Descrizione</label>
                <textarea class="form-control" id="addNewEventDescription" rows="1" required></textarea>
            </div>
            <div class="col-md-3 mb-3">
                <button type="submit" class="btn btn-primary pull-right m-10" id="addNewEventBntInsert">Inserisci</button>
            </div>
        </div>

CSS

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

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