-2

I'm trying to figure out the horizontal version of https://stackoverflow.com/a/25298473/7835535. Instead of having the content scroll vertically, I want the content to scroll horizontally.

Fiddle taken from the original post

<div class="container">
<div class="row">
    <div class="panel panel-primary">
        <div class="panel-heading">
            <h3 class="panel-title">Title</h3>
            <span class="pull-right">
                <ul class="nav panel-tabs">
                    <li class="active"><a href="#tab1" data-toggle="tab">Tab 1</a></li>
                </ul>
            </span>
        </div>            
        <div class="panel-body">
            <div class="tab-content">
                <div class="tab-pane active" id="test">
                    CONTENT
                </div>
            </div>
        </div>
    </div>
</div>
jenny
  • 191
  • 3
  • 12

1 Answers1

1

Here You go Fiddle: http://jsfiddle.net/51n56p94/

You need to add this css

.tab-pane{
    width:1000px;

}
.tab-content{
  overflow-x:scroll;
}
Innam Hunzai
  • 442
  • 1
  • 6
  • 17