The bootstrap has a built-in class for vertical and horizontal arrangement of a group of buttons, you need to make buttons in a mobile view in a vertical arrangement, and horizontal ones in a desktop view. Out of position by creating blocks that hide in a specific extension through the hidden classes:
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-8 hidden-md hidden-lg" style="text-align: right; float:right"> <div class="btn-group-vertical navbar-fixed-right header-menu"> ... </div></div> <div class="col-lg-8 col-md-8 col-sm-8 col-xs-8 hidden-sm hidden-xs" style="text-align: right; float:right"> <div class="btn-group navbar-fixed-right header-menu"> ... </div></div> Is it possible to do the same through media queries in css? That is, to change the class of the element in css at a certain expansion of the screen so as not to produce a bunch of extra code?