0

I wanted to override bootstrap default styles on a particular element ,but instead of using important property ,is there any way to do that , sometimes the !important property don't work , i was creating bootstrap form but when i tried to give width to any form control then it didn't apply why ?

1 Answers1

-1

I think you should work with the CSS priorities.

There is a similar topic where you can find helpful info about it Here: best way to override bootstrap css

Additionally, in the following link there is a sample about specificity were you should try in your code to target the elements you need to change Here: CSS class priorities

If possible share some samples of your code where you have issues.

RoyCloud
  • 31
  • 4