It's a good practice to analyze your page in at least 4 sizes, Extra small (xs), Small (sm), Medium (md), and Wide (lg), so if you want to use only one class, md-4 means that your element (div) will have a width of 4 columns from (mobile first) of average size.
This means that in all other smaller sizes, the width of 12 columns will be defined because there is a default size that is 12.
If you do not want the size of 12 columns to be applied to a particular screen size, it is recommended that you include the convenient size.
Current browsers have tools to help you analyze your page in various sizes. In Chrome and Firefox just press F12 to open a series of useful tools for this process.