CSS Bootstrap overrides my own CSS

后端 未结 9 1217
深忆病人
深忆病人 2021-02-07 14:12

I am trying to create a split-button in my website (ASPNET WebForms). So far the only split-button implementation I like is the one from Bootstrap. I am not using any other feat

9条回答
  •  鱼传尺愫
    2021-02-07 14:38

    You go to the Customizer on getbootstrap.com http://getbootstrap.com/customize/

    Toggle the stuff you need:

    enter image description here

    Then you download it.

    You open it up. Look at the base styles and the global box-sizing:border-box.

    Either you change all your CSS to work with box-sizing: border-box (google it), or you put that on the :before, :after, and element on all the bootstrap css that you need for forms, buttons, and the dropdown (they work together).

提交回复
热议问题