JSFiddle - React, Tailwind, and code Playground
by Sam_Butler
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 class="container">
<div class="row">
<div class="col">
<img src="http://nofax.com.au/components/com_nofax/assets/nf_small.jpg"/>
</div>
</div>
<div class="row">
<div class="col">
<form>
<div class="form-group">
<label for="fax">Fax number</label>
<input type="text" class="form-control" id="fax" aria-describedby="faxHelp">
<small id="faxHelp" class="form-text text-muted">Enter the fax number you would like to be removed.</small>
</div>
<div class="form-group">
<label for="code">Code</label>
<input type="text" class="form-control" id="code" aria-describedby="codeHelp">
<small id="codeHelp" class="form-text text-muted">Enter the removal code from the bottom-right of the fax you have received.</small>
</div>
<button type="submit" class="btn btn-danger">Remove me!</button>
</form>
</div>
</div>
</div>
CSS
.row {
background: #f8f9fa;
margin-top: 20px;
}
.col {
border: solid 1px #6c757d;
padding: 10px;
}