Getting rid of all the rounded corners in Twitter Bootstrap

后端 未结 16 2484
旧时难觅i
旧时难觅i 2020-12-22 17:07

I love Twitter Bootstrap 2.0 - I love how it\'s such a complete library... but I want to make a global modification for a very boxy-not-round site, which is to get rid of al

16条回答
  •  长情又很酷
    2020-12-22 17:42

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

    Or define a mixin and include it wherever you want an unrounded button.

    @mixin btn-round-none {
      border-radius:                    0px;
      -webkit-border-radius:            0px;
      -moz-border-radius:               0px;
    }
    
    .btn.btn_1 {
    @inlude btn-round-none
    }
    

提交回复
热议问题