Make High Priority of External Css Class Than Internal and Inline Css [Duplicate]
I Want to Make High Priority of External Css Class Than Internal Class and Inline Css Class. Is It Possible? How Can I Do That? 2 2 Answers Its Bad Practice...
I want to make high priority of external CSS class than internal class and inline CSS class. Is It possible? How can I do that?
2 Answers
Its bad practice but can be done.
If you put !important after your selector it should overide inline styles.
Idealy though you would remove the inline markup.
Example
.myclass{
color : red !important;
}
yes it is possible you can use !important in your external css classes to give them high priority...rather inline & embed css