Bootstrap: v4: justified button groups

Created on 16 May 2016  路  3Comments  路  Source: twbs/bootstrap

Doesn't appear to be working properly:

https://jsfiddle.net/7sqnran9/2/

Expected result is buttons stretch at equal sizes to span the entire width of its parent as per:
http://getbootstrap.com/components/#btn-groups-justified

Not sure if WIP or missing/broken

css v4

Most helpful comment

<div class="btn-group d-flex" role="group">
   <a href="" class="btn btn-secondary w-100">Previous</a>
   <a href="" class="btn btn-secondary w-100">Next</a>
</div>

https://getbootstrap.com/docs/4.0/migration/#button-group

All 3 comments

Dupe of #17631.

<div class="btn-group d-flex" role="group">
   <a href="" class="btn btn-secondary w-100">Previous</a>
   <a href="" class="btn btn-secondary w-100">Next</a>
</div>

https://getbootstrap.com/docs/4.0/migration/#button-group

Thank you very much @dejurin

Was this page helpful?
0 / 5 - 0 ratings