I'm trying to make some text center only on small viewport size and below. Wider than small should be left-align. For some reason, when I contiue to shrink the viewport, the text left-aligns.
<div class="row">
<div id="box" class="col-md-6 offset-md-3 col-sm-12 text-md-left text-sm-center">
Center me on col-sm, otherwise, left align me
</div>
</div>
#box{
width:600px;
height:200px;
border:1px solid black;
}