请看下面的截图。在浏览器中查看时,我想将这两个按钮堆叠在右上角。当我缩小浏览器时,我仍然希望它们彼此相邻,但它们堆叠在一起。
<div class="container">
<div class="row">
<div class="col-xs-12 col-md-8">
<H1 class="title">New Business</H1></div>
<div class="col-xs-6 col-md-4"><H5 class="title" > Test Name </H5></div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-8">
<button type="button" class="btn btn-default btn-lg">
<span class="glyphicon glyphicon-log-out"></span> LogOut
</button>
</div>
<div class="col-xs-6 col-sm-6 col-md-4">
<button type="button" class="btn btn-default btn-lg">
<span class="glyphicon glyphicon-log-out"></span> LogOut
</button>
</div>
</div>
</div>