I want to make a sidebar have all of it's content displayed while on a pc (=>sm) and have it tabbed while on a phone (
Effectively hiding all of the tab controls and just display all of the tabs as though they were an expanded accordion.
example sidebar While on phone is should look like this
<div class="col-xs-12 col-sm-4">
<tabset>
<tab heading="Tab 1">
<div class="col-xs-12">
Tab 1 Content
</div>
</tab>
<tab heading="Tab 2">
<div class="col-xs-12">
Tab 2 Content
</div>
</tab>
</tabset>
</div>
While being displayed on a larger screen it should look like the following
<div class="col-xs-12 col-sm-4">
<div class="col-xs-12">
Tab 1 Content
</div>
<div class="col-xs-12">
Tab 2 Content
</div>
</div>
If there is a better option besides tabs I would be open to that although the visual controls need to look like justified tabs in the end. I am open to other suggestions, I could do
<div class="visible-xs">
tabbed code
</div>
<div class="hidden-xs">
Plain code
</div>
however that does produce a larger html file that needs to be loaded, and the inner content would need to be manually synced if anything is dynamically changed by the user.
Thank you!