Quantcast
Channel: Implement Vertical sliding div using Twitter Bootstrap - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by David Brooks for Implement Vertical sliding div using Twitter Bootstrap

$
0
0

Stack Overflow converted my answer to a comment so I will post a more complete answer.

<div class="container"><div class="row-fluid"><div class="collapse-group"><div class="span2"><!--Sidebar content--></div><a class="btn" data-toggle="collapse" data-target=".span2">Toggle</a></div><div class="span10"><!--Body content--></div></div></div>

span2 will now be collapsed by default and if you click the button it will expand vertically.


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>