JSFiddle - React, Tailwind, and code Playground

HTML

<script src="//angularlight.org/bin/alight_0.12.last.min.js"></script>
<div class="col-md-4">
            <fieldset class="scheduler-border">
                <legend class="scheduler-border red">DEVICES</legend>
                    <h3>ALL DEVICES SUPORTED</h3>
                    <p class="desc-features">All our products are perfectly optimized for mobile, desktop and tablet.</p>
                    <button type="button" class="btn btn-danger btn-devices">Learn More</button>
            </fieldset>
        </div>

CSS

fieldset
{
    height: 100%;
}
fieldset.scheduler-border {
    text-align:center;
    border: 2px solid #efefef !important;
    border-radius: 5px;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow:  0px 0px 0px 0px #000;
            box-shadow:  0px 0px 0px 0px #000;
}

legend.scheduler-border {
    font-size: 0.7em !important;
    font-weight: bold !important;
    text-align: center !important;
    width:inherit; /* Or auto */
    padding:0 10px; /* To give a bit of padding on the left and right */
    border-bottom:none;
    vertical-align: sub;

}
.btn-devices{
    text-transform: none;
    background-color: #e64232;
    color: white;
}