Home > Software design >  How can i overwrite any code in bootstrap4 using css?
How can i overwrite any code in bootstrap4 using css?

Time:12-16

Can anyone please tell me how to overwrite css in bootstrap E.g I want to add fonts and color to bootstrap carousel If anyone knows please tell me

CodePudding user response:

use !important in that style. like div{color:#000!important;}

CodePudding user response:

if you want to add any style you should overwrite it simply without adding important attributes if it will not work then make sure your CSS file is after the bootstrap file if it still is not implemented then apply a style with !important like div{color:#000!important;}

  • Related