Bootstrap 3 buttons - change border radius

13,678

Solution 1

 border-radius: 24px!important;

Solution 2

I found that for me, I simply had to remove type=button as I had originally copy/pasted the bootstrap button from Bootstrap tutorials

I.E.

<a type="button" class="custom-css btn btn-primary btn-lg">foobar</a>

becomes

<a class="custom-css btn btn-primary btn-lg">foobar</a>
Share:
13,678
user6467208
Author by

user6467208

Updated on June 17, 2022

Comments

  • user6467208
    user6467208 almost 2 years

    I've searched around but whatever I try, I can't make my buttons have a border radius of zero globally. This doesn't work, can anyone help? thanks!

    .btn btn-default{
        border-radius: 0px!important;
        -webkit-border-radius: 0px!important;
        -moz-border-radius: 0px!important;
    }