I'm using bootstrap, and the CSS is responsive, so it scales down nicely on smaller devices. However, I would like buttons to shrink too when the viewport is smaller (eg. on mobile).
<button name="button" type="submit" id="edit_button-46" class="btn btn-default" value="edit" >Edit</button>
Basically on smaller devices, the class btn-xs should be added to all buttons.
I can probably accomplish this via Jquery, but was wondering if bootstrap already had this functionality?