0

[SOLVED] Using btn-group-justified class

How can I use the btn-group-justified class for button groups? I've tried it but it doesn't seem to work...

1st Dec 2018, 4:35 AM
Rafi Hazel Tafara
Rafi Hazel Tafara - avatar
4 ответов
0
Oooh its bootstrap 3. Keep using btn-group-justified You're using it wrong, for button you'll need to wrap it again in button group to see the result. <div class="btn-group"><button class="btn btn-success">h1</button></div>
2nd Dec 2018, 4:30 AM
Taste
Taste - avatar
0
It was removed in bootstrap 4. There's an alternative here https://getbootstrap.com/docs/4.0/migration/#button-group or downgrade to bootstrap 3
1st Dec 2018, 4:51 AM
Taste
Taste - avatar
0
Taste, I've tried it and it doesn't work... Am I doing something wrong here? Maybe you can investigate the code here : https://code.sololearn.com/WNNn8Dnd1Y3l/?ref=app P.S. It's from the SoloLearn Bootstrap Module.
2nd Dec 2018, 12:02 AM
Rafi Hazel Tafara
Rafi Hazel Tafara - avatar
0
Thanks, now it works 😎😂 Do you know how to make the button group is justified in one line? Or maybe using the Progress Bars instead?
2nd Dec 2018, 6:32 AM
Rafi Hazel Tafara
Rafi Hazel Tafara - avatar