Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Twitter bootstrap btn-group-vertical with margin in between the buttons

Is there an easy way to add some margin between the twitter bootstrap btn-group-vertical buttons, and to make them all have rounded corners?

My first attempt was to just add some margin between them, using css, but then I saw that, except for the first and last one, none of them had rounded corners, so instead of "playing on", I hope there is a "decent" way to accomplish this...

like image 230
Danny Avatar asked Dec 11 '25 14:12

Danny


1 Answers

I think this is the easiest way to do that.

CSS

.btn-group-vertical > button{
    margin-bottom:10px;
    border-radius:10px !important;
}

Working Demo

like image 190
Adrian Enriquez Avatar answered Dec 13 '25 08:12

Adrian Enriquez



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!