I was thought that if you are using !important that means you f*cked something up earlier :P But I know there are some edge cases :)
And I've never used box-sizing: border-box; tbh. I never needed that O.o
About global scope - yes, that's disgusting sometimes that why it's so important to keep everything structured so much. And I really love libraries like CSSModules which helps with that a bit :)
if you are using !important that means you f*cked something up earlier :P But I know there are some edge cases :)
The problem is that it could be not me, it could be somebody else on the team (and reviewer haven't noticed it), or it is 3rd party code. The presence of the feature itself means that somebody would use it eventually.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I was thought that if you are using
!important
that means you f*cked something up earlier :P But I know there are some edge cases :)And I've never used
box-sizing: border-box;
tbh. I never needed that O.oAbout global scope - yes, that's disgusting sometimes that why it's so important to keep everything structured so much. And I really love libraries like
CSSModules
which helps with that a bit :)The problem is that it could be not me, it could be somebody else on the team (and reviewer haven't noticed it), or it is 3rd party code. The presence of the feature itself means that somebody would use it eventually.