Despite specifying to apply the text-align to 'md-3' instead of 'sm', it still applies when the browser is resized to use the 'sm' style.
Simply put, I only want the style to be applied if the media queries interpret my device as an 'sm' screen. The current style I have is being applied to all sizes, including 'md'. How can I correct this?
Here is my CSS:
div.col-md-3.subnav{
text-align: center;
}
And here is the HTML:
<div class="col-xs-12 col-sm-6 col-md-3 subnav">Pricing</div>