My current code snippet is:
<div class="col-md-2 col-lg-offset-2 col-sm-4 col-xs-offset-1 col-sm-offset-0 col-md-offset-1 col-xs-10">
I am looking to include a custom style (such as padding: 20px) that will only be applied when col-sm-4 is being used (specifically for small layouts). I attempted to add it directly to the .col-sm-4 class, but it affected all layouts. Can anyone provide an example of how to achieve this?