With two classes for different widths .col-xs & col-sm) in the same div. So when the screen reach the specific width it resided to the class
Source refactoru: Advanced CSS Developmnent