JSFiddle - React, Tailwind, and code Playground
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="container my-3"><div class="p-2">
<h1 class="h5">
Normal
</h1>
<div class="row border">
<div class="col pt-3">
<p class="border">
1 of 3
</p>
</div>
<div class="col pt-3">
<p class="border border-danger">
2 of 3
</p>
</div>
<div class="col pt-3">
<p class="border border-color-inherit">
3 of 3
</p>
</div>
</div>
</div><div class="p-2">
<h1 class="h5">
with Colors
</h1>
<div class="row border border-warning">
<div class="col pt-3">
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
</p>
<p class="p-2 px-3 text-warning border">
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
</p>
</div>
<div class="col pt-3">
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
</p>
<p class="p-2 px-3 text-warning border border-danger">
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
</p>
</div>
<div class="col pt-3">
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
</p>
<p class="p-2 px-3 text-warning border border-color-inherit">
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
</p>
</div>
</div>
<div class="mt-3"></div>
<div class="row border...
CSS
.border-color-inherit { border-color: inherit !important }