I am currently utilizing Bootstrap 3.0 along with its grid system on my webpage, which contains two divs stacked one on top of the other.
Is there a way for users to toggle the view so that these div
s appear next to each other (upon clicking a button)? Can this be achieved using just CSS3?
<div class="container">
<div class="row">
<div class="col-xs-12 col-md-8 col-md-offset-2">
<div class="alert alert-info">
<!-- content of first div -->
</div>
<div class="alert alert-info">
<!-- content of second div-->
</div>
</div>
</div>
</div>