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 ?
Asked
Active
Viewed 4,001 times
0
-
2Your question is too broad, can you provide a fiddle and demonstrate clearly what you can't perform ? – BENARD Patrick Nov 11 '17 at 21:53
-
you can use default boostrap classes, they are responsive, they will adjust accordingly :) – AVI Nov 12 '17 at 01:32
1 Answers
-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