Full width tabs using Bootstrap (Support IE)

后端 未结 8 1566
孤城傲影
孤城傲影 2021-02-02 07:34

I\'m trying to adjust Bootstrap tabs to make them span the full width of their container. Here\'s my code (a minimal working example):


<         


        
8条回答
  •  情书的邮戳
    2021-02-02 08:18

    Maybe I've found your solution:

    Create that class with css:

    .take-all-space-you-can{
        width:100%;
    }
    

    And then apply that class to your li tags into your ul. Doing these all the li takes the space that they can and automatically divide the space in the single row.

    DEMO

提交回复
热议问题