-3

At some point during development, I indented text to -999 without realizing it. I have no idea where I could have done this so I started to mess with the CSS of the website. I found what I was looking for but as you can see in the screenshot the first CSS is prioritized over the second. I was curious as to whether or not you can change the priority or order of that list.

screenshot of website

rarbe1
  • 1

1 Answers1

1

To change the priority of a CSS element, you have to add !important. In this case, add text-indent: 0 !important;

The !important property in CSS means that all subsequent rules on an element are to be ignored, and the rule denoted by !important is to be applied. This rule overrides all previous styling rules ​-- the !important property increases its priority.

Bhavesh Lohana
  • 376
  • 3
  • 5