Giter VIP home page Giter VIP logo

Comments (2)

dbtek avatar dbtek commented on June 11, 2024

Hi @mrblackus,

With some custom css it should be possible. In my opinion, it's not a common need. However, it'd be cool if you could contribute your solution here for those might need it also.

Thanks.

from bootstrap-vertical-tabs.

mrblackus avatar mrblackus commented on June 11, 2024

Hi!

I managed to have tabs on bottom, but only by using a second ul element and forcing its position to bottom of the container with absolute positioning.
Not very elegant according to me but it works like a charm.

It looks like this

<div class="col-xs-3" id="menu">
  <!-- required for floating -->
  <!-- Nav tabs -->
  <ul class="nav nav-tabs tabs-left" style="height: 100%;">
    <li class="active">
      <a data-toggle="tab" href="#home">Home</a>
    </li>
    <li>
      <a data-toggle="tab" href="#profile">Profile</a>
    </li>
  </ul>

  <ul class="nav nav-tabs tabs-left" style="position: absolute; bottom: 0px;">
    <li>
      <a data-toggle="tab" href="#contact">Contact</a>
    </li>
    <li>
      <a data-toggle="tab" href="#about">About</a>
    </li>
  </ul>
</div>

<div class="col-xs-9">
  <!-- Tab panes -->
  <div class="tab-content">
    <div class="tab-pane active" id="home">Home Tab.</div>
    <div class="tab-pane" id="profile">Profile Tab.</div>
    <div class="tab-pane" id="contact">Contact Tab.</div>
    <div class="tab-pane" id="about">About Tab.</div>
  </div>
</div>

from bootstrap-vertical-tabs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.