简体   繁体   中英

How can i overwrite any code in bootstrap4 using css?

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

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;}

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM