0

I Have used multiple css files to make my code clear. This cause some priority issue in styling because some codes over write the other.

So i was wondering if there is any way i could priortize the css files so that high priority files are not over written.

1
  • Hello, use !important after the properties values in your files. For Example #idName{display: none!important} here this will consider this more important than any other property.. Commented May 22, 2020 at 18:04

1 Answer 1

2

While linking the css files, move the high priority file the end. The last included file will have the highest priority as long as you dont have an inline style

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.